Class: Kaltura::KalturaESearchResult

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

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#highlightObject

Returns the value of attribute highlight.



407
408
409
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 407

def highlight
  @highlight
end

#items_dataObject

Returns the value of attribute items_data.



408
409
410
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 408

def items_data
  @items_data
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



411
412
413
414
415
416
417
418
419
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 411

def from_xml(xml_element)
	super
	if xml_element.elements['highlight'] != nil
		self.highlight = KalturaClientBase.object_from_xml(xml_element.elements['highlight'], 'KalturaESearchHighlight')
	end
	if xml_element.elements['itemsData'] != nil
		self.items_data = KalturaClientBase.object_from_xml(xml_element.elements['itemsData'], 'KalturaESearchItemDataResult')
	end
end