Class: Kaltura::KalturaESearchGroupMetadataItem
- Inherits:
-
KalturaESearchAbstractGroupItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchGroupBaseItem
- KalturaESearchAbstractGroupItem
- Kaltura::KalturaESearchGroupMetadataItem
- Defined in:
- lib/kaltura_plugins/kaltura_group_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 KalturaESearchAbstractGroupItem
#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.
179 180 181 |
# File 'lib/kaltura_plugins/kaltura_group_client_plugin.rb', line 179 def @metadata_field_id end |
#metadata_profile_id ⇒ Object
Returns the value of attribute metadata_profile_id.
178 179 180 |
# File 'lib/kaltura_plugins/kaltura_group_client_plugin.rb', line 178 def @metadata_profile_id end |
#xpath ⇒ Object
Returns the value of attribute xpath.
177 178 179 |
# File 'lib/kaltura_plugins/kaltura_group_client_plugin.rb', line 177 def xpath @xpath end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
188 189 190 191 192 193 194 195 196 197 198 199 |
# File 'lib/kaltura_plugins/kaltura_group_client_plugin.rb', line 188 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 |