Class: Kaltura::KalturaESearchGroupMetadataItem

Inherits:
KalturaESearchAbstractGroupItem show all
Defined in:
lib/kaltura_plugins/kaltura_group_client_plugin.rb

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#metadata_field_idObject

Returns the value of attribute metadata_field_id.



160
161
162
# File 'lib/kaltura_plugins/kaltura_group_client_plugin.rb', line 160

def 
  
end

#metadata_profile_idObject

Returns the value of attribute metadata_profile_id.



159
160
161
# File 'lib/kaltura_plugins/kaltura_group_client_plugin.rb', line 159

def 
  
end

#xpathObject

Returns the value of attribute xpath.



158
159
160
# File 'lib/kaltura_plugins/kaltura_group_client_plugin.rb', line 158

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



169
170
171
172
173
174
175
176
177
178
179
180
# File 'lib/kaltura_plugins/kaltura_group_client_plugin.rb', line 169

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