Class: Kaltura::KalturaEntryLiveStats

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

Instance Attribute Summary collapse

Attributes inherited from KalturaLiveStats

#audience, #avg_bitrate, #buffer_time, #dvr_audience, #plays, #seconds_viewed, #start_event, #timestamp

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#entry_idObject

Returns the value of attribute entry_id.



13626
13627
13628
# File 'lib/kaltura_types.rb', line 13626

def entry_id
  @entry_id
end

#peak_audienceObject

Returns the value of attribute peak_audience.



13627
13628
13629
# File 'lib/kaltura_types.rb', line 13627

def peak_audience
  @peak_audience
end

#peak_dvr_audienceObject

Returns the value of attribute peak_dvr_audience.



13628
13629
13630
# File 'lib/kaltura_types.rb', line 13628

def peak_dvr_audience
  @peak_dvr_audience
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
# File 'lib/kaltura_types.rb', line 13637

def from_xml(xml_element)
	super
	if xml_element.elements['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['peakAudience'] != nil
		self.peak_audience = xml_element.elements['peakAudience'].text
	end
	if xml_element.elements['peakDvrAudience'] != nil
		self.peak_dvr_audience = xml_element.elements['peakDvrAudience'].text
	end
end