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.



17543
17544
17545
# File 'lib/kaltura_types.rb', line 17543

def city
  @city
end

#countryObject

Returns the value of attribute country.



17544
17545
17546
# File 'lib/kaltura_types.rb', line 17544

def country
  @country
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



17547
17548
17549
17550
17551
17552
17553
17554
17555
# File 'lib/kaltura_types.rb', line 17547

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