/*
 * 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 AddApplicationParameters class.
 * @constructor
 * Parameters for an ApplicationOperations.AddApplication request.
 * @member {boolean} [allowUpdates] A value indicating whether packages within
 * the application may be overwritten using the same version string.
 * 
 * @member {string} [displayName] The display name for the application.
 * 
 */
function AddApplicationParameters() {
}

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

module.exports = AddApplicationParameters;
