/*
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 * 
 * Code generated by Microsoft (R) AutoRest Code Generator.
 * Changes may cause incorrect behavior and will be lost if the code is
 * regenerated.
 */

'use strict';

/**
 * @class
 * Initializes a new instance of the JobTerminateParameter class.
 * @constructor
 * Parameters for a CloudJobOperations.Terminate request.
 * @member {string} [terminateReason] The text you want to appear as the job's
 * TerminateReason. The default is 'UserTerminate'.
 * 
 */
function JobTerminateParameter() {
}

/**
 * Defines the metadata of JobTerminateParameter
 *
 * @returns {object} metadata of JobTerminateParameter
 *
 */
JobTerminateParameter.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'JobTerminateParameter',
    type: {
      name: 'Composite',
      className: 'JobTerminateParameter',
      modelProperties: {
        terminateReason: {
          required: false,
          serializedName: 'terminateReason',
          type: {
            name: 'String'
          }
        }
      }
    }
  };
};

module.exports = JobTerminateParameter;
