# 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_0_preview module Models # # The subject alternate names of a X509 object. # class SubjectAlternativeNames include MsRestAzure # @return [Array] Email addresses. attr_accessor :emails # @return [Array] Domain names. attr_accessor :dns_names # @return [Array] User principal names. attr_accessor :upns # # Mapper for SubjectAlternativeNames class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SubjectAlternativeNames', type: { name: 'Composite', class_name: 'SubjectAlternativeNames', model_properties: { emails: { client_side_validation: true, required: false, serialized_name: 'emails', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, dns_names: { client_side_validation: true, required: false, serialized_name: 'dns_names', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, upns: { client_side_validation: true, required: false, serialized_name: 'upns', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end