Class: Kaltura::KalturaESearchResponse

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

#total_countObject

Returns the value of attribute total_count.



559
560
561
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 559

def total_count
  @total_count
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



565
566
567
568
569
570
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 565

def from_xml(xml_element)
	super
	if xml_element.elements['totalCount'] != nil
		self.total_count = xml_element.elements['totalCount'].text
	end
end