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.



17562
17563
17564
# File 'lib/kaltura_types.rb', line 17562

def city
  @city
end

#countryObject

Returns the value of attribute country.



17563
17564
17565
# File 'lib/kaltura_types.rb', line 17563

def country
  @country
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



17566
17567
17568
17569
17570
17571
17572
17573
17574
# File 'lib/kaltura_types.rb', line 17566

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