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.



676
677
678
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 676

def sort_field
  @sort_field
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



679
680
681
682
683
684
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 679

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