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.



969
970
971
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 969

def sort_field
  @sort_field
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



972
973
974
975
976
977
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 972

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