class Kaltura::KalturaCompareCondition

Attributes

comparison[RW]

Comparing operator

value[RW]

Value to evaluate against the field and operator

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaCondition#from_xml
# File lib/kaltura_types.rb, line 12095
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