Class: Kaltura::KalturaLiveStats

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Direct Known Subclasses

KalturaEntryLiveStats

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#audienceObject

Returns the value of attribute audience.



3474
3475
3476
# File 'lib/kaltura_types.rb', line 3474

def audience
  @audience
end

#avg_bitrateObject

Returns the value of attribute avg_bitrate.



3476
3477
3478
# File 'lib/kaltura_types.rb', line 3476

def avg_bitrate
  @avg_bitrate
end

#buffer_timeObject

Returns the value of attribute buffer_time.



3477
3478
3479
# File 'lib/kaltura_types.rb', line 3477

def buffer_time
  @buffer_time
end

#dvr_audienceObject

Returns the value of attribute dvr_audience.



3475
3476
3477
# File 'lib/kaltura_types.rb', line 3475

def dvr_audience
  @dvr_audience
end

#playsObject

Returns the value of attribute plays.



3478
3479
3480
# File 'lib/kaltura_types.rb', line 3478

def plays
  @plays
end

#seconds_viewedObject

Returns the value of attribute seconds_viewed.



3479
3480
3481
# File 'lib/kaltura_types.rb', line 3479

def seconds_viewed
  @seconds_viewed
end

#start_eventObject

Returns the value of attribute start_event.



3480
3481
3482
# File 'lib/kaltura_types.rb', line 3480

def start_event
  @start_event
end

#timestampObject

Returns the value of attribute timestamp.



3481
3482
3483
# File 'lib/kaltura_types.rb', line 3481

def timestamp
  @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.timestamp = xml_element.elements['timestamp'].text
end