Class: Kaltura::KalturaESearchItemDataResult
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaESearchItemDataResult
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
-
#items_type ⇒ Object
Returns the value of attribute items_type.
-
#total_count ⇒ Object
Returns the value of attribute total_count.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
389 390 391 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 389 def items @items end |
#items_type ⇒ Object
Returns the value of attribute items_type.
390 391 392 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 390 def items_type @items_type end |
#total_count ⇒ Object
Returns the value of attribute total_count.
388 389 390 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 388 def total_count @total_count end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
396 397 398 399 400 401 402 403 404 405 406 407 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 396 def from_xml(xml_element) super if xml_element.elements['totalCount'] != nil self.total_count = xml_element.elements['totalCount'].text end if xml_element.elements['items'] != nil self.items = KalturaClientBase.object_from_xml(xml_element.elements['items'], 'KalturaESearchItemData') end if xml_element.elements['itemsType'] != nil self.items_type = xml_element.elements['itemsType'].text end end |