class Kaltura::KalturaCondition

Attributes

description[RW]
not[RW]
type[RW]

The type of the access control condition

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_types.rb, line 189
def from_xml(xml_element)
        super
        if xml_element.elements['type'] != nil
                self.type = xml_element.elements['type'].text
        end
        if xml_element.elements['description'] != nil
                self.description = xml_element.elements['description'].text
        end
        if xml_element.elements['not'] != nil
                self.not = xml_element.elements['not'].text
        end
end
not=(val) click to toggle source
# File lib/kaltura_types.rb, line 185
def not=(val)
        @not = to_b(val)
end