class Azure::CostManagement::Mgmt::V2019_01_01::Models::ErrorResponse

Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.

Attributes

error[RW]

@return [ErrorDetails] The details of the error.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-01-01/generated/azure_mgmt_cost_management/models/error_response.rb, line 24
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ErrorResponse',
    type: {
      name: 'Composite',
      class_name: 'ErrorResponse',
      model_properties: {
        error: {
          client_side_validation: true,
          required: false,
          serialized_name: 'error',
          type: {
            name: 'Composite',
            class_name: 'ErrorDetails'
          }
        }
      }
    }
  }
end