Class: Kaltura::KalturaESearchCategoryMetadataItem
- Inherits:
-
KalturaESearchAbstractCategoryItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchCategoryBaseItem
- KalturaESearchAbstractCategoryItem
- Kaltura::KalturaESearchCategoryMetadataItem
- 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 KalturaESearchAbstractCategoryItem
#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.
1194 1195 1196 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1194 def @metadata_field_id end |
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
1193 1194 1195 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1193 def @metadata_profile_id end |
#xpath ⇒ Object
Returns the value of attribute xpath.
1192 1193 1194 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1192 def xpath @xpath end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1203 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 |