# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::Mgmt::V2016_09_01
  module Models
    #
    # Client certificate details using thumbprint
    #
    class ClientCertificateThumbprint

      include MsRestAzure

      # @return [Boolean] Is this certificate used for admin access from the
      # client, if false, it is used or query only access
      attr_accessor :is_admin

      # @return [String] Certificate thumbprint
      attr_accessor :certificate_thumbprint


      #
      # Mapper for ClientCertificateThumbprint class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClientCertificateThumbprint',
          type: {
            name: 'Composite',
            class_name: 'ClientCertificateThumbprint',
            model_properties: {
              is_admin: {
                client_side_validation: true,
                required: true,
                serialized_name: 'isAdmin',
                type: {
                  name: 'Boolean'
                }
              },
              certificate_thumbprint: {
                client_side_validation: true,
                required: true,
                serialized_name: 'certificateThumbprint',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
