Class: Kaltura::KalturaESearchCategoryItem

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

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#field_nameObject

Returns the value of attribute field_name.



1210
1211
1212
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1210

def field_name
  @field_name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1213
1214
1215
1216
1217
1218
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1213

def from_xml(xml_element)
	super
	if xml_element.elements['fieldName'] != nil
		self.field_name = xml_element.elements['fieldName'].text
	end
end