Class: Kaltura::KalturaESearchCategoryOperator
- Inherits:
-
KalturaESearchCategoryBaseItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchCategoryBaseItem
- Kaltura::KalturaESearchCategoryOperator
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Instance Attribute Summary collapse
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#search_items ⇒ Object
Returns the value of attribute search_items.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#operator ⇒ Object
Returns the value of attribute operator.
573 574 575 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 573 def operator @operator end |
#search_items ⇒ Object
Returns the value of attribute search_items.
574 575 576 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 574 def search_items @search_items end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
580 581 582 583 584 585 586 587 588 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 580 def from_xml(xml_element) super if xml_element.elements['operator'] != nil self.operator = xml_element.elements['operator'].text end if xml_element.elements['searchItems'] != nil self.search_items = KalturaClientBase.object_from_xml(xml_element.elements['searchItems'], 'KalturaESearchCategoryBaseItem') end end |