Class: Kaltura::KalturaESearchEntryMetadataItem

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#metadata_field_idObject

Returns the value of attribute metadata_field_id.



1435
1436
1437
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1435

def 
  @metadata_field_id
end

#metadata_profile_idObject

Returns the value of attribute metadata_profile_id.



1434
1435
1436
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1434

def 
  @metadata_profile_id
end

#xpathObject

Returns the value of attribute xpath.



1433
1434
1435
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1433

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1444

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