/*
 * 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 ServicePrincipalCreateParameters class.
 * @constructor
 * Request parameters for create a new service principal
 * @member {string} appId Gets or sets application Id
 * 
 * @member {boolean} accountEnabled Specifies if the account is enabled
 * 
 */
function ServicePrincipalCreateParameters() {
}

/**
 * Defines the metadata of ServicePrincipalCreateParameters
 *
 * @returns {object} metadata of ServicePrincipalCreateParameters
 *
 */
ServicePrincipalCreateParameters.prototype.mapper = function () {
  return {
    required: false,
    serializedName: 'ServicePrincipalCreateParameters',
    type: {
      name: 'Composite',
      className: 'ServicePrincipalCreateParameters',
      modelProperties: {
        appId: {
          required: true,
          serializedName: 'appId',
          type: {
            name: 'String'
          }
        },
        accountEnabled: {
          required: true,
          serializedName: 'accountEnabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  };
};

module.exports = ServicePrincipalCreateParameters;
