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.



956
957
958
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 956

def 
  @metadata_profile_id
end

#xpathObject

Returns the value of attribute xpath.



955
956
957
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 955

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



962
963
964
965
966
967
968
969
970
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 962

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