Class: Kaltura::KalturaESearchEntryResponse

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

Instance Attribute Summary collapse

Attributes inherited from KalturaESearchResponse

#total_count

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#aggregationsObject

Returns the value of attribute aggregations.



840
841
842
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 840

def aggregations
  @aggregations
end

#objectsObject

Returns the value of attribute objects.



839
840
841
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 839

def objects
  @objects
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



843
844
845
846
847
848
849
850
851
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 843

def from_xml(xml_element)
	super
	if xml_element.elements['objects'] != nil
		self.objects = KalturaClientBase.object_from_xml(xml_element.elements['objects'], 'KalturaESearchEntryResult')
	end
	if xml_element.elements['aggregations'] != nil
		self.aggregations = KalturaClientBase.object_from_xml(xml_element.elements['aggregations'], 'KalturaESearchAggregationResponseItem')
	end
end