Class: Kaltura::KalturaESearchUserMetadataItem
- Inherits:
-
KalturaESearchAbstractUserItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchUserBaseItem
- KalturaESearchAbstractUserItem
- Kaltura::KalturaESearchUserMetadataItem
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#metadata_field_id ⇒ Object
Returns the value of attribute metadata_field_id.
-
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
-
#xpath ⇒ Object
Returns the value of attribute xpath.
Attributes inherited from KalturaESearchAbstractUserItem
#add_highlight, #item_type, #range, #search_term
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#metadata_field_id ⇒ Object
Returns the value of attribute metadata_field_id.
1300 1301 1302 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1300 def @metadata_field_id end |
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
1299 1300 1301 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1299 def @metadata_profile_id end |
#xpath ⇒ Object
Returns the value of attribute xpath.
1298 1299 1300 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1298 def xpath @xpath end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1309 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 if xml_element.elements['metadataFieldId'] != nil self. = xml_element.elements['metadataFieldId'].text end end |