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.



848
849
850
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 848

def aggregations
  @aggregations
end

#objectsObject

Returns the value of attribute objects.



847
848
849
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 847

def objects
  @objects
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



851
852
853
854
855
856
857
858
859
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 851

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