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 IssuerParameters(Model):
16    """Parameters for the issuer of the X509 component of a certificate.
17
18    :param name: Name of the referenced issuer object or reserved names; for
19     example, 'Self' or 'Unknown'.
20    :type name: str
21    :param certificate_type: Type of certificate to be requested from the
22     issuer provider.
23    :type certificate_type: str
24    """
25
26    _attribute_map = {
27        'name': {'key': 'name', 'type': 'str'},
28        'certificate_type': {'key': 'cty', 'type': 'str'},
29    }
30
31    def __init__(self, *, name: str=None, certificate_type: str=None, **kwargs) -> None:
32        super(IssuerParameters, self).__init__(**kwargs)
33        self.name = name
34        self.certificate_type = certificate_type
35