class Azure::CognitiveServices::QnamakerRuntime::V4_0::Models::ErrorResponse

Error response. As per Microsoft One API guidelines - github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.

Attributes

error[RW]

@return [ErrorResponseError] The error object.

Private Class Methods

mapper() click to toggle source

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

# File lib/4.0/generated/azure_cognitiveservices_qnamakerruntime/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: 'ErrorResponseError'
          }
        }
      }
    }
  }
end