Sha256: 2884798df8effe9dfdead2a7b0d04ee391fd19ce919a778e492f126d6ba031a8

Contents?: true

Size: 1.67 KB

Versions: 7

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_07_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

7 entries across 7 versions & 1 rubygems

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