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.



556
557
558
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 556

def total_count
  @total_count
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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

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