Class: Kaltura::KalturaESearchOrderByItem

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

#sort_orderObject

Returns the value of attribute sort_order.



257
258
259
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 257

def sort_order
  @sort_order
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



260
261
262
263
264
265
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 260

def from_xml(xml_element)
	super
	if xml_element.elements['sortOrder'] != nil
		self.sort_order = xml_element.elements['sortOrder'].text
	end
end