# 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::Web::Mgmt::V2016_08_01 module Models # # Public certificate object # class PublicCertificate < ProxyOnlyResource include MsRestAzure # @return [String] Public Certificate byte array attr_accessor :blob # @return [PublicCertificateLocation] Public Certificate Location. # Possible values include: 'CurrentUserMy', 'LocalMachineMy', 'Unknown' attr_accessor :public_certificate_location # @return [String] Certificate Thumbprint attr_accessor :thumbprint # # Mapper for PublicCertificate class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PublicCertificate', type: { name: 'Composite', class_name: 'PublicCertificate', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, blob: { client_side_validation: true, required: false, serialized_name: 'properties.blob', type: { name: 'String' } }, public_certificate_location: { client_side_validation: true, required: false, serialized_name: 'properties.publicCertificateLocation', type: { name: 'Enum', module: 'PublicCertificateLocation' } }, thumbprint: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.thumbprint', type: { name: 'String' } } } } } end end end end