def parameters=(new_val)
      return nil if new_val == @parameters
      new_val = {} if new_val.nil? || (new_val == '')

      ### check the values
      raise JSS::InvalidDataError, ':parameters must be a Hash with keys :parameter4 thru :parameter11' unless \
        new_val.is_a?(Hash) && ((new_val.keys & PARAMETER_KEYS) == new_val.keys)
      new_val.each do |_k, v|
        raise JSS::InvalidDataError, ':parameter values must be strings or nil' unless v.nil? || v.is_a?(String)
      end

      @parameters = new_val
      @need_to_update = true
    end
def parameters=(new_val)
      return nil if new_val == @parameters
      new_val = {} if new_val.nil? || (new_val == '')

      ### check the values
      raise JSS::InvalidDataError, ':parameters must be a Hash with keys :parameter4 thru :parameter11' unless \
        new_val.is_a?(Hash) && ((new_val.keys & PARAMETER_KEYS) == new_val.keys)
      new_val.each do |_k, v|
        raise JSS::InvalidDataError, ':parameter values must be strings or nil' unless v.nil? || v.is_a?(String)
      end

      @parameters = new_val
      @need_to_update = true
    end
notes=
 Replace all the script parameters at once.

 This will replace the entire set with the hash provided.

 @param new_val[Hash]  the Hash keys must exist in {PARAMETER_KEYS}

 @return [void]