Class: Kaltura::KalturaESearchMetadataOrderByItem

Inherits:
KalturaESearchOrderByItem show all
Defined in:
lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaESearchOrderByItem

#sort_order

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#metadata_profile_idObject

Returns the value of attribute metadata_profile_id.



960
961
962
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 960

def 
  @metadata_profile_id
end

#xpathObject

Returns the value of attribute xpath.



959
960
961
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 959

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



966
967
968
969
970
971
972
973
974
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 966

def from_xml(xml_element)
	super
	if xml_element.elements['xpath'] != nil
		self.xpath = xml_element.elements['xpath'].text
	end
	if xml_element.elements['metadataProfileId'] != nil
		self. = xml_element.elements['metadataProfileId'].text
	end
end