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.



797
798
799
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 797

def 
  
end

#xpathObject

Returns the value of attribute xpath.



796
797
798
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 796

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



803
804
805
806
807
808
809
810
811
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 803

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