Sha256: be846cfef33bc758881a781be445dbd507eeed33c8f9964b988927ebedb83b39

Contents?: true

Size: 1.67 KB

Versions: 19

Compression:

Stored size: 1.67 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::Compute::Mgmt::V2016_03_30
  module Models
    #
    # Api error base.
    #
    class ApiErrorBase

      include MsRestAzure

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

      # @return [String] The target of the particular error.
      attr_accessor :target

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


      #
      # Mapper for ApiErrorBase class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ApiErrorBase',
          type: {
            name: 'Composite',
            class_name: 'ApiErrorBase',
            model_properties: {
              code: {
                client_side_validation: true,
                required: false,
                serialized_name: 'code',
                type: {
                  name: 'String'
                }
              },
              target: {
                client_side_validation: true,
                required: false,
                serialized_name: 'target',
                type: {
                  name: 'String'
                }
              },
              message: {
                client_side_validation: true,
                required: false,
                serialized_name: 'message',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.21.1 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.20.0 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.19.3 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.19.2 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.19.1 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.19.0 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.18.7 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.18.6 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.18.5 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.18.4 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.18.3 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.18.2 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.18.1 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.18.0 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.17.1 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.17.0 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.16.0 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.15.2 lib/2016-03-30/generated/azure_mgmt_compute/models/api_error_base.rb