Class: Kaltura::KalturaESearchEntryMetadataItem
- Inherits:
-
KalturaESearchEntryAbstractNestedItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchEntryBaseItem
- KalturaESearchEntryBaseNestedObject
- KalturaESearchEntryNestedBaseItem
- KalturaESearchEntryAbstractNestedItem
- Kaltura::KalturaESearchEntryMetadataItem
- 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 KalturaESearchEntryAbstractNestedItem
#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.
1251 1252 1253 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1251 def end |
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
1250 1251 1252 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1250 def end |
#xpath ⇒ Object
Returns the value of attribute xpath.
1249 1250 1251 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1249 def xpath @xpath end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1260 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 |