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.
3474 3475 3476 |
# File 'lib/kaltura_types.rb', line 3474 def audience @audience end |
#avg_bitrate ⇒ Object
Returns the value of attribute avg_bitrate.
3476 3477 3478 |
# File 'lib/kaltura_types.rb', line 3476 def avg_bitrate @avg_bitrate end |
#buffer_time ⇒ Object
Returns the value of attribute buffer_time.
3477 3478 3479 |
# File 'lib/kaltura_types.rb', line 3477 def buffer_time @buffer_time end |
#dvr_audience ⇒ Object
Returns the value of attribute dvr_audience.
3475 3476 3477 |
# File 'lib/kaltura_types.rb', line 3475 def dvr_audience @dvr_audience end |
#plays ⇒ Object
Returns the value of attribute plays.
3478 3479 3480 |
# File 'lib/kaltura_types.rb', line 3478 def plays @plays end |
#seconds_viewed ⇒ Object
Returns the value of attribute seconds_viewed.
3479 3480 3481 |
# File 'lib/kaltura_types.rb', line 3479 def seconds_viewed @seconds_viewed end |
#start_event ⇒ Object
Returns the value of attribute start_event.
3480 3481 3482 |
# File 'lib/kaltura_types.rb', line 3480 def start_event @start_event end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
3481 3482 3483 |
# File 'lib/kaltura_types.rb', line 3481 def @timestamp end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 |
# File 'lib/kaltura_types.rb', line 3508 def from_xml(xml_element) super self.audience = xml_element.elements['audience'].text self.dvr_audience = xml_element.elements['dvrAudience'].text self.avg_bitrate = xml_element.elements['avgBitrate'].text self.buffer_time = xml_element.elements['bufferTime'].text self.plays = xml_element.elements['plays'].text self.seconds_viewed = xml_element.elements['secondsViewed'].text self.start_event = xml_element.elements['startEvent'].text self. = xml_element.elements['timestamp'].text end |