Class: Kaltura::KalturaDeleteEntryFlavorsObjectTask

Inherits:
KalturaObjectTask show all
Defined in:
lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb

Instance Attribute Summary collapse

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

#camelcase, #to_b, #to_params

Instance Attribute Details

#delete_typeObject

The logic to use to choose the flavors for deletion



181
182
183
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 181

def delete_type
  @delete_type
end

#flavor_params_idsObject

Comma separated list of flavor param ids to delete or keep



184
185
186
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 184

def flavor_params_ids
  @flavor_params_ids
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



190
191
192
193
194
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 190

def from_xml(xml_element)
	super
	self.delete_type = xml_element.elements['deleteType'].text
	self.flavor_params_ids = xml_element.elements['flavorParamsIds'].text
end