# 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::V2015_06_01 module Models # # The contact information for the vault certificates. # class Contact include MsRestAzure # @return [String] Email addresss. attr_accessor :email_address # @return [String] Name. attr_accessor :name # @return [String] Phone number. attr_accessor :phone # # Mapper for Contact class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Contact', type: { name: 'Composite', class_name: 'Contact', model_properties: { email_address: { client_side_validation: true, required: false, serialized_name: 'email', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, phone: { client_side_validation: true, required: false, serialized_name: 'phone', type: { name: 'String' } } } } } end end end end