Class: Kaltura::KalturaESearchParams
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaESearchParams
- Defined in:
- lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb
Direct Known Subclasses
KalturaESearchCategoryParams, KalturaESearchEntryParams, KalturaESearchGroupParams, KalturaESearchUserParams
Instance Attribute Summary collapse
-
#object_id ⇒ Object
Returns the value of attribute object_id.
-
#object_statuses ⇒ Object
Returns the value of attribute object_statuses.
-
#order_by ⇒ Object
Returns the value of attribute order_by.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#object_id ⇒ Object
Returns the value of attribute object_id.
509 510 511 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 509 def object_id @object_id end |
#object_statuses ⇒ Object
Returns the value of attribute object_statuses.
508 509 510 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 508 def object_statuses @object_statuses end |
#order_by ⇒ Object
Returns the value of attribute order_by.
510 511 512 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 510 def order_by @order_by end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
513 514 515 516 517 518 519 520 521 522 523 524 |
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 513 def from_xml(xml_element) super if xml_element.elements['objectStatuses'] != nil self.object_statuses = xml_element.elements['objectStatuses'].text end if xml_element.elements['objectId'] != nil self.object_id = xml_element.elements['objectId'].text end if xml_element.elements['orderBy'] != nil self.order_by = KalturaClientBase.object_from_xml(xml_element.elements['orderBy'], 'KalturaESearchOrderBy') end end |