Sha256: 05a2cefddebac55e63fdf4069000d1f194aa6dd7c8f86c90d306e1217686870e

Contents?: true

Size: 1.76 KB

Versions: 4

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::V7_1
  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

4 entries across 4 versions & 1 rubygems

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