Sha256: 00620eb91674b3d219a71a67c16a626c48c3feb0b3f7db15f097f51474afa418

Contents?: true

Size: 1.67 KB

Versions: 6

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

6 entries across 6 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2019-11-01/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.21.1 lib/2019-11-01/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.20.0 lib/2019-11-01/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.19.3 lib/2019-11-01/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.19.2 lib/2019-11-01/generated/azure_mgmt_compute/models/api_error_base.rb
azure_mgmt_compute-0.19.1 lib/2019-11-01/generated/azure_mgmt_compute/models/api_error_base.rb