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

/**
 * The ACS configuration.
 *
 */
class AcsConfiguration {
  /**
   * Create a AcsConfiguration.
   * @member {string} namespace The namespace.
   * @member {string} realm The realm.
   * @member {string} serviceUrl The service URL.
   */
  constructor() {
  }

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

module.exports = AcsConfiguration;
