/*
 * 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 DatabaseAccountRegenerateKeyParameters class.
 * @constructor
 * Parameters to regenerate the keys within the database account.
 *
 * @member {string} keyKind The access key to regenerate. Possible values
 * include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'
 *
 */
class DatabaseAccountRegenerateKeyParameters {
  constructor() {
  }

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

module.exports = DatabaseAccountRegenerateKeyParameters;
