Class: Kaltura::KalturaESearchUserOrderByItem

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

Instance Attribute Summary collapse

Attributes inherited from KalturaESearchOrderByItem

#sort_order

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_fieldObject

Returns the value of attribute sort_field.



979
980
981
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 979

def sort_field
  @sort_field
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



982
983
984
985
986
987
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 982

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