Class: Kaltura::KalturaESearchRange

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

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#greater_thanObject

Returns the value of attribute greater_than.



521
522
523
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 521

def greater_than
  @greater_than
end

#greater_than_or_equalObject

Returns the value of attribute greater_than_or_equal.



519
520
521
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 519

def greater_than_or_equal
  @greater_than_or_equal
end

#less_thanObject

Returns the value of attribute less_than.



522
523
524
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 522

def less_than
  @less_than
end

#less_than_or_equalObject

Returns the value of attribute less_than_or_equal.



520
521
522
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 520

def less_than_or_equal
  @less_than_or_equal
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 537

def from_xml(xml_element)
	super
	if xml_element.elements['greaterThanOrEqual'] != nil
		self.greater_than_or_equal = xml_element.elements['greaterThanOrEqual'].text
	end
	if xml_element.elements['lessThanOrEqual'] != nil
		self.less_than_or_equal = xml_element.elements['lessThanOrEqual'].text
	end
	if xml_element.elements['greaterThan'] != nil
		self.greater_than = xml_element.elements['greaterThan'].text
	end
	if xml_element.elements['lessThan'] != nil
		self.less_than = xml_element.elements['lessThan'].text
	end
end