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 CertificateIssuerSetParameters(Model):
16    """The certificate issuer set parameters.
17
18    All required parameters must be populated in order to send to Azure.
19
20    :param provider: Required. The issuer provider.
21    :type provider: str
22    :param credentials: The credentials to be used for the issuer.
23    :type credentials: ~azure.keyvault.v2016_10_01.models.IssuerCredentials
24    :param organization_details: Details of the organization as provided to
25     the issuer.
26    :type organization_details:
27     ~azure.keyvault.v2016_10_01.models.OrganizationDetails
28    :param attributes: Attributes of the issuer object.
29    :type attributes: ~azure.keyvault.v2016_10_01.models.IssuerAttributes
30    """
31
32    _validation = {
33        'provider': {'required': True},
34    }
35
36    _attribute_map = {
37        'provider': {'key': 'provider', 'type': 'str'},
38        'credentials': {'key': 'credentials', 'type': 'IssuerCredentials'},
39        'organization_details': {'key': 'org_details', 'type': 'OrganizationDetails'},
40        'attributes': {'key': 'attributes', 'type': 'IssuerAttributes'},
41    }
42
43    def __init__(self, **kwargs):
44        super(CertificateIssuerSetParameters, self).__init__(**kwargs)
45        self.provider = kwargs.get('provider', None)
46        self.credentials = kwargs.get('credentials', None)
47        self.organization_details = kwargs.get('organization_details', None)
48        self.attributes = kwargs.get('attributes', None)
49