Class: Kaltura::KalturaCompareCondition

Inherits:
KalturaCondition show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaCondition

#description, #not, #type

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#comparisonObject

Comparing operator



7850
7851
7852
# File 'lib/kaltura_types.rb', line 7850

def comparison
  @comparison
end

#valueObject

Value to evaluate against the field and operator



7847
7848
7849
# File 'lib/kaltura_types.rb', line 7847

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7853
7854
7855
7856
7857
# File 'lib/kaltura_types.rb', line 7853

def from_xml(xml_element)
	super
	self.value = KalturaClientBase.object_from_xml(xml_element.elements['value'], 'KalturaIntegerValue')
	self.comparison = xml_element.elements['comparison'].text
end