Class: Kaltura::KalturaLiveStats
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaLiveStats
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#audience ⇒ Object
Returns the value of attribute audience.
-
#avg_bitrate ⇒ Object
Returns the value of attribute avg_bitrate.
-
#buffer_time ⇒ Object
Returns the value of attribute buffer_time.
-
#dvr_audience ⇒ Object
Returns the value of attribute dvr_audience.
-
#plays ⇒ Object
Returns the value of attribute plays.
-
#seconds_viewed ⇒ Object
Returns the value of attribute seconds_viewed.
-
#start_event ⇒ Object
Returns the value of attribute start_event.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#audience ⇒ Object
Returns the value of attribute audience.
6774 6775 6776 |
# File 'lib/kaltura_types.rb', line 6774 def audience @audience end |
#avg_bitrate ⇒ Object
Returns the value of attribute avg_bitrate.
6776 6777 6778 |
# File 'lib/kaltura_types.rb', line 6776 def avg_bitrate @avg_bitrate end |
#buffer_time ⇒ Object
Returns the value of attribute buffer_time.
6777 6778 6779 |
# File 'lib/kaltura_types.rb', line 6777 def buffer_time @buffer_time end |
#dvr_audience ⇒ Object
Returns the value of attribute dvr_audience.
6775 6776 6777 |
# File 'lib/kaltura_types.rb', line 6775 def dvr_audience @dvr_audience end |
#plays ⇒ Object
Returns the value of attribute plays.
6778 6779 6780 |
# File 'lib/kaltura_types.rb', line 6778 def plays @plays end |
#seconds_viewed ⇒ Object
Returns the value of attribute seconds_viewed.
6779 6780 6781 |
# File 'lib/kaltura_types.rb', line 6779 def seconds_viewed @seconds_viewed end |
#start_event ⇒ Object
Returns the value of attribute start_event.
6780 6781 6782 |
# File 'lib/kaltura_types.rb', line 6780 def start_event @start_event end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
6781 6782 6783 |
# File 'lib/kaltura_types.rb', line 6781 def @timestamp end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 |
# File 'lib/kaltura_types.rb', line 6808 def from_xml(xml_element) super if xml_element.elements['audience'] != nil self.audience = xml_element.elements['audience'].text end if xml_element.elements['dvrAudience'] != nil self.dvr_audience = xml_element.elements['dvrAudience'].text end if xml_element.elements['avgBitrate'] != nil self.avg_bitrate = xml_element.elements['avgBitrate'].text end if xml_element.elements['bufferTime'] != nil self.buffer_time = xml_element.elements['bufferTime'].text end if xml_element.elements['plays'] != nil self.plays = xml_element.elements['plays'].text end if xml_element.elements['secondsViewed'] != nil self.seconds_viewed = xml_element.elements['secondsViewed'].text end if xml_element.elements['startEvent'] != nil self.start_event = xml_element.elements['startEvent'].text end if xml_element.elements['timestamp'] != nil self. = xml_element.elements['timestamp'].text end end |