Class: Kaltura::KalturaESearchCategoryOrderByItem

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.



666
667
668
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 666

def sort_field
  @sort_field
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



669
670
671
672
673
674
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 669

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