Class: Kaltura::KalturaGeoTimeLiveStats

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

Instance Attribute Summary collapse

Attributes inherited from KalturaEntryLiveStats

#entry_id, #peak_audience, #peak_dvr_audience

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

#cityObject

Returns the value of attribute city.



17739
17740
17741
# File 'lib/kaltura_types.rb', line 17739

def city
  @city
end

#countryObject

Returns the value of attribute country.



17740
17741
17742
# File 'lib/kaltura_types.rb', line 17740

def country
  @country
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



17743
17744
17745
17746
17747
17748
17749
17750
17751
# File 'lib/kaltura_types.rb', line 17743

def from_xml(xml_element)
	super
	if xml_element.elements['city'] != nil
		self.city = KalturaClientBase.object_from_xml(xml_element.elements['city'], 'KalturaCoordinate')
	end
	if xml_element.elements['country'] != nil
		self.country = KalturaClientBase.object_from_xml(xml_element.elements['country'], 'KalturaCoordinate')
	end
end