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



161
162
163
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 161

def flavor_params_ids
  @flavor_params_ids
end

#reconvertObject

Should reconvert when flavor already exists?



164
165
166
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 164

def reconvert
  @reconvert
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



170
171
172
173
174
# File 'lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb', line 170

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