Class: Kaltura::KalturaESearchEntryOperator
- Inherits:
-
KalturaESearchEntryBaseItem
- Object
- KalturaObjectBase
- KalturaESearchBaseItem
- KalturaESearchEntryBaseItem
- Kaltura::KalturaESearchEntryOperator
- 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.
501 502 503 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 501 def operator @operator end |
#search_items ⇒ Object
Returns the value of attribute search_items.
502 503 504 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 502 def search_items @search_items end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
508 509 510 511 512 513 514 515 516 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 508 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'], 'KalturaESearchEntryBaseItem') end end |