# 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::KeyVault::V7_1 module Models # # The certificate item containing certificate metadata. # class CertificateItem include MsRestAzure # @return [String] Certificate identifier. attr_accessor :id # @return [CertificateAttributes] The certificate management attributes. attr_accessor :attributes # @return [Hash{String => String}] Application specific metadata in the # form of key-value pairs. attr_accessor :tags # @return Thumbprint of the certificate. attr_accessor :x509thumbprint # # Mapper for CertificateItem class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CertificateItem', type: { name: 'Composite', class_name: 'CertificateItem', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, attributes: { client_side_validation: true, required: false, serialized_name: 'attributes', type: { name: 'Composite', class_name: 'CertificateAttributes' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, x509thumbprint: { client_side_validation: true, required: false, serialized_name: 'x5t', type: { name: 'Base64Url' } } } } } end end end end