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.



562
563
564
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 562

def total_count
  @total_count
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



568
569
570
571
572
573
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 568

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