/*
 * 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';

/**
 * Parameters describes the request to regenerate access keys
 *
 */
class RegenerateKeyParameters {
  /**
   * Create a RegenerateKeyParameters.
   * @member {string} [keyType] The keyType to regenerate. Must be either
   * 'primary' or 'secondary'(case-insensitive). Possible values include:
   * 'Primary', 'Secondary'
   */
  constructor() {
  }

  /**
   * Defines the metadata of RegenerateKeyParameters
   *
   * @returns {object} metadata of RegenerateKeyParameters
   *
   */
  mapper() {
    return {
      required: false,
      serializedName: 'RegenerateKeyParameters',
      type: {
        name: 'Composite',
        className: 'RegenerateKeyParameters',
        modelProperties: {
          keyType: {
            required: false,
            serializedName: 'keyType',
            type: {
              name: 'String'
            }
          }
        }
      }
    };
  }
}

module.exports = RegenerateKeyParameters;
