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

/**
 * Shared access keys of the Domain
 *
 */
class DomainSharedAccessKeys {
  /**
   * Create a DomainSharedAccessKeys.
   * @property {string} [key1] Shared access key1 for the domain.
   * @property {string} [key2] Shared access key2 for the domain.
   */
  constructor() {
  }

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

module.exports = DomainSharedAccessKeys;
