1# coding=utf-8
2# --------------------------------------------------------------------------
3# Copyright (c) Microsoft Corporation. All rights reserved.
4# Licensed under the MIT License. See License.txt in the project root for
5# license information.
6#
7# Code generated by Microsoft (R) AutoRest Code Generator.
8# Changes may cause incorrect behavior and will be lost if the code is
9# regenerated.
10# --------------------------------------------------------------------------
11
12from msrest.serialization import Model
13
14
15class IssuerBundle(Model):
16    """The issuer for Key Vault certificate.
17
18    Variables are only populated by the server, and will be ignored when
19    sending a request.
20
21    :ivar id: Identifier for the issuer object.
22    :vartype id: str
23    :param provider: The issuer provider.
24    :type provider: str
25    :param credentials: The credentials to be used for the issuer.
26    :type credentials: ~azure.keyvault.v2016_10_01.models.IssuerCredentials
27    :param organization_details: Details of the organization as provided to
28     the issuer.
29    :type organization_details:
30     ~azure.keyvault.v2016_10_01.models.OrganizationDetails
31    :param attributes: Attributes of the issuer object.
32    :type attributes: ~azure.keyvault.v2016_10_01.models.IssuerAttributes
33    """
34
35    _validation = {
36        'id': {'readonly': True},
37    }
38
39    _attribute_map = {
40        'id': {'key': 'id', 'type': 'str'},
41        'provider': {'key': 'provider', 'type': 'str'},
42        'credentials': {'key': 'credentials', 'type': 'IssuerCredentials'},
43        'organization_details': {'key': 'org_details', 'type': 'OrganizationDetails'},
44        'attributes': {'key': 'attributes', 'type': 'IssuerAttributes'},
45    }
46
47    def __init__(self, *, provider: str=None, credentials=None, organization_details=None, attributes=None, **kwargs) -> None:
48        super(IssuerBundle, self).__init__(**kwargs)
49        self.id = None
50        self.provider = provider
51        self.credentials = credentials
52        self.organization_details = organization_details
53        self.attributes = attributes
54