Class: Kaltura::KalturaESearchEntryResponse
- Inherits:
-
KalturaESearchResponse
- Object
- KalturaObjectBase
- KalturaESearchResponse
- Kaltura::KalturaESearchEntryResponse
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#aggregations ⇒ Object
Returns the value of attribute aggregations.
-
#objects ⇒ Object
Returns the value of attribute objects.
Attributes inherited from KalturaESearchResponse
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#aggregations ⇒ Object
Returns the value of attribute aggregations.
843 844 845 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 843 def aggregations @aggregations end |
#objects ⇒ Object
Returns the value of attribute objects.
842 843 844 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 842 def objects @objects end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
846 847 848 849 850 851 852 853 854 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 846 def from_xml(xml_element) super if xml_element.elements['objects'] != nil self.objects = KalturaClientBase.object_from_xml(xml_element.elements['objects'], 'KalturaESearchEntryResult') end if xml_element.elements['aggregations'] != nil self.aggregations = KalturaClientBase.object_from_xml(xml_element.elements['aggregations'], 'KalturaESearchAggregationResponseItem') end end |