# 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 Application(Model):
"""Active Directory user information.
:param object_id: object Id
:type object_id: str
:param object_type: object type
:type object_type: str
:param app_id: application Id
:type app_id: str
:param app_permissions: application permissions
:type app_permissions: list of str
:param available_to_other_tenants: Indicates if the application will be
available to other tenants
:type available_to_other_tenants: bool
:param display_name: the displayName
:type display_name: str
:param identifier_uris: the application identifier Uris
:type identifier_uris: list of str
:param reply_urls: the application reply Urls
:type reply_urls: list of str
:param homepage: Application homepage
:type homepage: str
"""
_attribute_map = {
'object_id': {'key': 'objectId', 'type': 'str'},
'object_type': {'key': 'objectType', 'type': 'str'},
'app_id': {'key': 'appId', 'type': 'str'},
'app_permissions': {'key': 'appPermissions', 'type': '[str]'},
'available_to_other_tenants': {'key': 'availableToOtherTenants', 'type': 'bool'},
'display_name': {'key': 'displayName', 'type': 'str'},
'identifier_uris': {'key': 'identifierUris', 'type': '[str]'},
'reply_urls': {'key': 'replyUrls', 'type': '[str]'},
'homepage': {'key': 'homepage', 'type': 'str'},
}
def __init__(self, object_id=None, object_type=None, app_id=None, app_permissions=None, available_to_other_tenants=None, display_name=None, identifier_uris=None, reply_urls=None, homepage=None):
self.object_id = object_id
self.object_type = object_type
self.app_id = app_id
self.app_permissions = app_permissions
self.available_to_other_tenants = available_to_other_tenants
self.display_name = display_name
self.identifier_uris = identifier_uris
self.reply_urls = reply_urls
self.homepage = homepage