Source code for azure.graphrbac.models.service_principal_object_result_py3

# 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 ServicePrincipalObjectResult(Model): """Service Principal Object Result. :param value: The Object ID of the service principal with the specified application ID. :type value: str :param odatametadata: The URL representing edm equivalent. :type odatametadata: str """ _attribute_map = { 'value': {'key': 'value', 'type': 'str'}, 'odatametadata': {'key': 'odata\\.metadata', 'type': 'str'}, } def __init__(self, *, value: str=None, odatametadata: str=None, **kwargs) -> None: super(ServicePrincipalObjectResult, self).__init__(**kwargs) self.value = value self.odatametadata = odatametadata