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



217
218
219
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 217

def delete_type
  @delete_type
end

#flavor_params_idsObject

Comma separated list of flavor param ids to delete or keep



219
220
221
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 219

def flavor_params_ids
  @flavor_params_ids
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



225
226
227
228
229
230
231
232
233
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 225

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