Class: Kaltura::KalturaConvertEntryFlavorsObjectTask

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

#flavor_params_idsObject

Comma separated list of flavor param ids to convert



195
196
197
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 195

def flavor_params_ids
  @flavor_params_ids
end

#reconvertObject

Should reconvert when flavor already exists?



197
198
199
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 197

def reconvert
  @reconvert
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



203
204
205
206
207
208
209
210
211
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 203

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