# 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


class ClientCertificateThumbprint(Model):
    """Client certificate details using thumbprint.

    :param is_admin: Is this certificate used for admin access from the
     client, if false, it is used or query only access
    :type is_admin: bool
    :param certificate_thumbprint: Certificate thumbprint
    :type certificate_thumbprint: str
    """

    _validation = {
        'is_admin': {'required': True},
        'certificate_thumbprint': {'required': True},
    }

    _attribute_map = {
        'is_admin': {'key': 'isAdmin', 'type': 'bool'},
        'certificate_thumbprint': {'key': 'certificateThumbprint', 'type': 'str'},
    }

    def __init__(self, is_admin, certificate_thumbprint):
        self.is_admin = is_admin
        self.certificate_thumbprint = certificate_thumbprint
