Sha256: f4ed5267c4ddf50b43db9515d8bfb525f7463a0d9d5420974e795b1659ad74fa

Contents?: true

Size: 1.64 KB

Versions: 4

Compression:

Stored size: 1.64 KB

Contents

# 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 contact information for the vault certificates.
    #
    class Contact

      include MsRestAzure

      # @return [String] Email address.
      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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_key_vault-0.19.1 lib/7.1/generated/azure_key_vault/models/contact.rb
azure_key_vault-0.19.0 lib/7.1/generated/azure_key_vault/models/contact.rb
azure_key_vault-0.18.1 lib/7.1/generated/azure_key_vault/models/contact.rb
azure_key_vault-0.18.0 lib/7.1/generated/azure_key_vault/models/contact.rb