/*
 * 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 EnvironmentSetting class.
 * @constructor
 * An environment variable to be set on a task process.
 * @member {string} [name] The name of the environment variable.
 * 
 * @member {string} [value] The value of the environment variable.
 * 
 */
function EnvironmentSetting() {
}

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

module.exports = EnvironmentSetting;
