Sha256: b900457b42aa5a807d248006775a9e5d576a9f6449fe8034fe07ca817234bfbd

Contents?: true

Size: 1.76 KB

Versions: 10

Compression:

Stored size: 1.76 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 key vault server error.
    #
    class Error

      include MsRestAzure

      # @return [String] The error code.
      attr_accessor :code

      # @return [String] The error message.
      attr_accessor :message

      # @return [Error]
      attr_accessor :inner_error


      #
      # Mapper for Error class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Error',
          type: {
            name: 'Composite',
            class_name: 'Error',
            model_properties: {
              code: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'code',
                type: {
                  name: 'String'
                }
              },
              message: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'message',
                type: {
                  name: 'String'
                }
              },
              inner_error: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'innererror',
                type: {
                  name: 'Composite',
                  class_name: 'Error'
                }
              }
            }
          }
        }
      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/error.rb
azure_key_vault-0.19.0 lib/2016-10-01/generated/azure_key_vault/models/error.rb
azure_key_vault-0.18.1 lib/2016-10-01/generated/azure_key_vault/models/error.rb
azure_key_vault-0.18.0 lib/2016-10-01/generated/azure_key_vault/models/error.rb
azure_key_vault-0.17.4 lib/2016-10-01/generated/azure_key_vault/models/error.rb
azure_key_vault-0.17.3 lib/2016-10-01/generated/azure_key_vault/models/error.rb
azure_key_vault-0.17.2 lib/2016-10-01/generated/azure_key_vault/models/error.rb
azure_key_vault-0.17.1 lib/2016-10-01/generated/azure_key_vault/models/error.rb
azure_key_vault-0.17.0 lib/2016-10-01/generated/azure_key_vault/models/error.rb
azure_key_vault-0.16.0 lib/2016-10-01/generated/azure_key_vault/models/error.rb