/*
 * 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 PoolUpgradeOSParameter class.
 * @constructor
 * Parameters for a CloudPoolOperations.UpgradeOS request.
 * @member {string} targetOSVersion The Azure Guest OS version to be installed
 * on the virtual machines in the pool.
 * 
 */
function PoolUpgradeOSParameter() {
}

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

module.exports = PoolUpgradeOSParameter;
