Class: Kaltura::KalturaESearchResult
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaESearchResult
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Direct Known Subclasses
KalturaESearchCategoryResult, KalturaESearchEntryResult, KalturaESearchGroupResult, KalturaESearchUserResult
Instance Attribute Summary collapse
-
#highlight ⇒ Object
Returns the value of attribute highlight.
-
#items_data ⇒ Object
Returns the value of attribute items_data.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#highlight ⇒ Object
Returns the value of attribute highlight.
399 400 401 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 399 def highlight @highlight end |
#items_data ⇒ Object
Returns the value of attribute items_data.
400 401 402 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 400 def items_data @items_data end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
403 404 405 406 407 408 409 410 411 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 403 def from_xml(xml_element) super if xml_element.elements['highlight'] != nil self.highlight = KalturaClientBase.object_from_xml(xml_element.elements['highlight'], 'KalturaESearchHighlight') end if xml_element.elements['itemsData'] != nil self.items_data = KalturaClientBase.object_from_xml(xml_element.elements['itemsData'], 'KalturaESearchItemDataResult') end end |