# coding=utf-8
# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------
from msrest.serialization import Model
[docs]class AddApplicationParameters(Model):
"""Parameters for an ApplicationOperations.AddApplication request.
:param allow_updates: A value indicating whether packages within the
application may be overwritten using the same version string.
:type allow_updates: bool
:param display_name: The display name for the application.
:type display_name: str
"""
_attribute_map = {
'allow_updates': {'key': 'allowUpdates', 'type': 'bool'},
'display_name': {'key': 'displayName', 'type': 'str'},
}
def __init__(self, allow_updates=None, display_name=None):
self.allow_updates = allow_updates
self.display_name = display_name