# 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
    #
    # Certificate details
    #
    class CertificateDescription

      include MsRestAzure

      # @return [String] Thumbprint of the primary certificate
      attr_accessor :thumbprint

      # @return [String] Thumbprint of the secondary certificate
      attr_accessor :thumbprint_secondary

      # @return [Enum] The local certificate store location. Possible values
      # include: 'AddressBook', 'AuthRoot', 'CertificateAuthority',
      # 'Disallowed', 'My', 'Root', 'TrustedPeople', 'TrustedPublisher'
      attr_accessor :x509store_name


      #
      # Mapper for CertificateDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'CertificateDescription',
          type: {
            name: 'Composite',
            class_name: 'CertificateDescription',
            model_properties: {
              thumbprint: {
                client_side_validation: true,
                required: true,
                serialized_name: 'thumbprint',
                type: {
                  name: 'String'
                }
              },
              thumbprint_secondary: {
                client_side_validation: true,
                required: false,
                serialized_name: 'thumbprintSecondary',
                type: {
                  name: 'String'
                }
              },
              x509store_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'x509StoreName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
