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



12285
12286
12287
# File 'lib/kaltura_types.rb', line 12285

def comparison
  @comparison
end

#valueObject

Value to evaluate against the field and operator



12283
12284
12285
# File 'lib/kaltura_types.rb', line 12283

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12288
12289
12290
12291
12292
12293
12294
12295
12296
# File 'lib/kaltura_types.rb', line 12288

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