# 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::RecoveryServices::Mgmt::V2016_06_01 module Models # # Certificate corresponding to a vault that can be used by clients to # register themselves with the vault. # class VaultCertificateResponse include MsRestAzure # @return [String] Resource name associated with the resource. attr_accessor :name # @return [String] Resource type represents the complete path of the form # Namespace/ResourceType/ResourceType/... attr_accessor :type # @return [String] Resource Id represents the complete path to the # resource. attr_accessor :id # @return [ResourceCertificateDetails] attr_accessor :properties # # Mapper for VaultCertificateResponse class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VaultCertificateResponse', type: { name: 'Composite', class_name: 'VaultCertificateResponse', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Composite', polymorphic_discriminator: 'authType', uber_parent: 'ResourceCertificateDetails', class_name: 'ResourceCertificateDetails' } } } } } end end end end