Class: Kaltura::KalturaModifyCategoriesObjectTask
- Inherits:
-
KalturaObjectTask
- Object
- KalturaObjectBase
- KalturaObjectTask
- Kaltura::KalturaModifyCategoriesObjectTask
- Defined in:
- lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb
Instance Attribute Summary collapse
-
#add_remove_type ⇒ Object
Should the object task add or remove categories?.
-
#category_ids ⇒ Object
The list of category ids to add or remove.
Attributes inherited from KalturaObjectTask
#stop_processing_on_error, #type
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#add_remove_type ⇒ Object
Should the object task add or remove categories?
304 305 306 |
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 304 def add_remove_type @add_remove_type end |
#category_ids ⇒ Object
The list of category ids to add or remove
306 307 308 |
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 306 def category_ids @category_ids end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
312 313 314 315 316 317 318 319 320 |
# 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 |