/*
 * 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 BatchAccountRegenerateKeyParameters class.
 * @constructor
 * Parameters supplied to the RegenerateKey operation.
 * @member {string} keyName The type of account key to regenerate. Possible
 * values include: 'Primary', 'Secondary'
 * 
 */
function BatchAccountRegenerateKeyParameters() {
}

/**
 * Defines the metadata of BatchAccountRegenerateKeyParameters
 *
 * @returns {object} metadata of BatchAccountRegenerateKeyParameters
 *
 */
BatchAccountRegenerateKeyParameters.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'BatchAccountRegenerateKeyParameters',
    type: {
      name: 'Composite',
      className: 'BatchAccountRegenerateKeyParameters',
      modelProperties: {
        keyName: {
          required: true,
          serializedName: 'keyName',
          type: {
            name: 'Enum',
            allowedValues: [ 'Primary', 'Secondary' ]
          }
        }
      }
    }
  };
};

module.exports = BatchAccountRegenerateKeyParameters;
