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.



531
532
533
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 531

def greater_than
  @greater_than
end

#greater_than_or_equalObject

Returns the value of attribute greater_than_or_equal.



529
530
531
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 529

def greater_than_or_equal
  @greater_than_or_equal
end

#less_thanObject

Returns the value of attribute less_than.



532
533
534
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 532

def less_than
  @less_than
end

#less_than_or_equalObject

Returns the value of attribute less_than_or_equal.



530
531
532
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 530

def less_than_or_equal
  @less_than_or_equal
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
# File 'lib/kaltura_plugins/kaltura_elastic_search_client_plugin.rb', line 547

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