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.



843
844
845
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 843

def aggregations
  @aggregations
end

#objectsObject

Returns the value of attribute objects.



842
843
844
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 842

def objects
  @objects
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



846
847
848
849
850
851
852
853
854
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 846

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