Class: Kaltura::KalturaESearchParams

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#object_idObject

Returns the value of attribute object_id.



499
500
501
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 499

def object_id
  @object_id
end

#object_statusesObject

Returns the value of attribute object_statuses.



498
499
500
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 498

def object_statuses
  @object_statuses
end

#order_byObject

Returns the value of attribute order_by.



500
501
502
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 500

def order_by
  @order_by
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



503
504
505
506
507
508
509
510
511
512
513
514
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 503

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