Source code for azure.mgmt.apimanagement.models.x509_certificate_name_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 X509CertificateName(Model): """Properties of server X509Names. :param name: Common Name of the Certificate. :type name: str :param issuer_certificate_thumbprint: Thumbprint for the Issuer of the Certificate. :type issuer_certificate_thumbprint: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'issuer_certificate_thumbprint': {'key': 'issuerCertificateThumbprint', 'type': 'str'}, } def __init__(self, *, name: str=None, issuer_certificate_thumbprint: str=None, **kwargs) -> None: super(X509CertificateName, self).__init__(**kwargs) self.name = name self.issuer_certificate_thumbprint = issuer_certificate_thumbprint