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

/**
 * API OAuth2 Authentication settings details.
 *
 */
class OAuth2AuthenticationSettingsContract {
  /**
   * Create a OAuth2AuthenticationSettingsContract.
   * @property {string} [authorizationServerId] OAuth authorization server
   * identifier.
   * @property {string} [scope] operations scope.
   */
  constructor() {
  }

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

module.exports = OAuth2AuthenticationSettingsContract;
