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.
6839 6840 6841 |
# File 'lib/kaltura_types.rb', line 6839 def audience @audience end |
#avg_bitrate ⇒ Object
Returns the value of attribute avg_bitrate.
6841 6842 6843 |
# File 'lib/kaltura_types.rb', line 6841 def avg_bitrate @avg_bitrate end |
#buffer_time ⇒ Object
Returns the value of attribute buffer_time.
6842 6843 6844 |
# File 'lib/kaltura_types.rb', line 6842 def buffer_time @buffer_time end |
#dvr_audience ⇒ Object
Returns the value of attribute dvr_audience.
6840 6841 6842 |
# File 'lib/kaltura_types.rb', line 6840 def dvr_audience @dvr_audience end |
#plays ⇒ Object
Returns the value of attribute plays.
6843 6844 6845 |
# File 'lib/kaltura_types.rb', line 6843 def plays @plays end |
#seconds_viewed ⇒ Object
Returns the value of attribute seconds_viewed.
6844 6845 6846 |
# File 'lib/kaltura_types.rb', line 6844 def seconds_viewed @seconds_viewed end |
#start_event ⇒ Object
Returns the value of attribute start_event.
6845 6846 6847 |
# File 'lib/kaltura_types.rb', line 6845 def start_event @start_event end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
6846 6847 6848 |
# File 'lib/kaltura_types.rb', line 6846 def @timestamp end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 |
# File 'lib/kaltura_types.rb', line 6873 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 |