Sha256: dbea705e055dbd764f056032bdcea1880d8939ffe91c96ca9a9ae5598d471e0e

Contents?: true

Size: 1.65 KB

Versions: 6

Compression:

Stored size: 1.65 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::V2016_10_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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
azure_key_vault-0.17.4 lib/2016-10-01/generated/azure_key_vault/models/contact.rb
azure_key_vault-0.17.3 lib/2016-10-01/generated/azure_key_vault/models/contact.rb
azure_key_vault-0.17.2 lib/2016-10-01/generated/azure_key_vault/models/contact.rb
azure_key_vault-0.17.1 lib/2016-10-01/generated/azure_key_vault/models/contact.rb
azure_key_vault-0.17.0 lib/2016-10-01/generated/azure_key_vault/models/contact.rb
azure_key_vault-0.16.0 lib/2016-10-01/generated/azure_key_vault/models/contact.rb