Class: Kaltura::KalturaCoordinate

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

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#latitudeObject

Returns the value of attribute latitude.



3732
3733
3734
# File 'lib/kaltura_types.rb', line 3732

def latitude
  @latitude
end

#longitudeObject

Returns the value of attribute longitude.



3733
3734
3735
# File 'lib/kaltura_types.rb', line 3733

def longitude
  @longitude
end

#nameObject

Returns the value of attribute name.



3734
3735
3736
# File 'lib/kaltura_types.rb', line 3734

def name
  @name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
# File 'lib/kaltura_types.rb', line 3743

def from_xml(xml_element)
	super
	if xml_element.elements['latitude'] != nil
		self.latitude = xml_element.elements['latitude'].text
	end
	if xml_element.elements['longitude'] != nil
		self.longitude = xml_element.elements['longitude'].text
	end
	if xml_element.elements['name'] != nil
		self.name = xml_element.elements['name'].text
	end
end