Class: Kaltura::KalturaESearchUserMetadataItem

Inherits:
KalturaESearchAbstractUserItem show all
Defined in:
lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#metadata_field_idObject

Returns the value of attribute metadata_field_id.



1308
1309
1310
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1308

def 
  
end

#metadata_profile_idObject

Returns the value of attribute metadata_profile_id.



1307
1308
1309
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1307

def 
  
end

#xpathObject

Returns the value of attribute xpath.



1306
1307
1308
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1306

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1317

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