Class: Kaltura::KalturaESearchAggregationBucket

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

#countObject

Returns the value of attribute count.



287
288
289
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 287

def count
  @count
end

#valueObject

Returns the value of attribute value.



286
287
288
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 286

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



293
294
295
296
297
298
299
300
301
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 293

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