Sha256: f97aeed83c67518358655cd2191eff6694ddc700c532661f5ca2d8627b2c3e7e

Contents?: true

Size: 1.78 KB

Versions: 10

Compression:

Stored size: 1.78 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 contacts for the vault certificates.
    #
    class Contacts

      include MsRestAzure

      # @return [String] Identifier for the contacts collection.
      attr_accessor :id

      # @return [Array<Contact>] The contact list for the vault certificates.
      attr_accessor :contact_list


      #
      # Mapper for Contacts class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Contacts',
          type: {
            name: 'Composite',
            class_name: 'Contacts',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              contact_list: {
                client_side_validation: true,
                required: false,
                serialized_name: 'contacts',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ContactElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'Contact'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_key_vault-0.19.1 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb
azure_key_vault-0.19.0 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb
azure_key_vault-0.18.1 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb
azure_key_vault-0.18.0 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb
azure_key_vault-0.17.4 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb
azure_key_vault-0.17.3 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb
azure_key_vault-0.17.2 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb
azure_key_vault-0.17.1 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb
azure_key_vault-0.17.0 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb
azure_key_vault-0.16.0 lib/2016-10-01/generated/azure_key_vault/models/contacts.rb