def set(value)
      # Do some basic checking for Arrays.
      case @type
      when 'Array'
        fail(IOError, ERR[:param_verify_failed]) unless value.is_a?(Array)
      end unless value.nil?
      @value = value
    end
def set(value)
      # Do some basic checking for Arrays.
      case @type
      when 'Array'
        fail(IOError, ERR[:param_verify_failed]) unless value.is_a?(Array)
      end unless value.nil?
      @value = value
    end
rubocop:disable MethodLength
 Create a new workflow parameter object
 @param [String] name Name of the workflow parameter
 @param [String] type Data type of the parameter (according to vCO)
 @return [VcoWorkflows::WorkflowParameter]
 rubocop:enable MethodLength
 Set the parameter value
 @param [Object] value Value for the parameter