class Kaltura::KalturaModifyCategoriesObjectTask

Attributes

add_remove_type[RW]

Should the object task add or remove categories?

category_ids[RW]

The list of category ids to add or remove

Public Instance Methods

add_remove_type=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb, line 308
def add_remove_type=(val)
        @add_remove_type = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectTask#from_xml
# File lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb, line 312
def from_xml(xml_element)
        super
        if xml_element.elements['addRemoveType'] != nil
                self.add_remove_type = xml_element.elements['addRemoveType'].text
        end
        if xml_element.elements['categoryIds'] != nil
                self.category_ids = KalturaClientBase.object_from_xml(xml_element.elements['categoryIds'], 'KalturaIntegerValue')
        end
end