Class: Kaltura::KalturaESearchMetadataOrderByItem
- Inherits:
-
KalturaESearchOrderByItem
- Object
- KalturaObjectBase
- KalturaESearchOrderByItem
- Kaltura::KalturaESearchMetadataOrderByItem
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
-
#xpath ⇒ Object
Returns the value of attribute xpath.
Attributes inherited from KalturaESearchOrderByItem
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#metadata_profile_id ⇒ Object
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 |
#xpath ⇒ Object
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 |