class Kaltura::KalturaCategoryEntryCondition

Attributes

category_id[RW]

Category id to check condition for

category_ids[RW]

Category id's to check condition for

category_user_permission[RW]

Minimum category user level permission to validate

comparison[RW]

Comparing operator

Public Instance Methods

category_id=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_reach_client_plugin.rb, line 832
def category_id=(val)
        @category_id = val.to_i
end
category_user_permission=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_reach_client_plugin.rb, line 835
def category_user_permission=(val)
        @category_user_permission = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method
# File lib/kaltura_plugins/kaltura_reach_client_plugin.rb, line 839
def from_xml(xml_element)
        super
        if xml_element.elements['categoryId'] != nil
                self.category_id = xml_element.elements['categoryId'].text
        end
        if xml_element.elements['categoryIds'] != nil
                self.category_ids = xml_element.elements['categoryIds'].text
        end
        if xml_element.elements['categoryUserPermission'] != nil
                self.category_user_permission = xml_element.elements['categoryUserPermission'].text
        end
        if xml_element.elements['comparison'] != nil
                self.comparison = xml_element.elements['comparison'].text
        end
end