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.



950
951
952
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 950

def 
  @metadata_profile_id
end

#xpathObject

Returns the value of attribute xpath.



949
950
951
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 949

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



956
957
958
959
960
961
962
963
964
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 956

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