Class: Kaltura::KalturaESearchGroupOrderByItem

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.



869
870
871
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 869

def sort_field
  @sort_field
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



872
873
874
875
876
877
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 872

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