Class: Kaltura::KalturaESearchCategoryEntryItem

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

Instance Attribute Summary collapse

Attributes inherited from KalturaESearchAbstractEntryItem

#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

#category_entry_statusObject

Returns the value of attribute category_entry_status.



1160
1161
1162
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1160

def category_entry_status
  @category_entry_status
end

#field_nameObject

Returns the value of attribute field_name.



1159
1160
1161
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1159

def field_name
  @field_name
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1166
1167
1168
1169
1170
1171
1172
1173
1174
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 1166

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