Class: Kaltura::KalturaESearchAggregationBucket
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaESearchAggregationBucket
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
Returns the value of attribute count.
-
#value ⇒ Object
Returns the value of attribute value.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#count ⇒ Object
Returns the value of attribute count.
296 297 298 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 296 def count @count end |
#value ⇒ Object
Returns the value of attribute value.
295 296 297 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 295 def value @value end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
302 303 304 305 306 307 308 309 310 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 302 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 |