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.



16703
16704
16705
# File 'lib/kaltura_types.rb', line 16703

def city
  @city
end

#countryObject

Returns the value of attribute country.



16704
16705
16706
# File 'lib/kaltura_types.rb', line 16704

def country
  @country
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



16707
16708
16709
16710
16711
16712
16713
16714
16715
# File 'lib/kaltura_types.rb', line 16707

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