class Azure::CostManagement::Mgmt::V2019_04_01_preview::Models::ErrorBase

The details of the error.

Attributes

code[RW]

@return [String] A machine readable error code.

message[RW]

@return [String] A human readable error message.

target[RW]

@return [String] Indicates which property in the request is responsible for the error.

Private Class Methods

mapper() click to toggle source

Mapper for ErrorBase class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-04-01-preview/generated/azure_mgmt_cost_management/models/error_base.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ErrorBase',
    type: {
      name: 'Composite',
      class_name: 'ErrorBase',
      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'
          }
        },
        target: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'target',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end