class Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ErrorResponse

Error response when invoking an operation on the API.

Attributes

additional_properties[RW]

@return Unmatched properties from the message are deserialized this collection

error_type[RW]

@return [String]

Public Class Methods

mapper() click to toggle source

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

# File lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ErrorResponse',
    type: {
      name: 'Composite',
      class_name: 'ErrorResponse',
      model_properties: {
        additional_properties: {
          client_side_validation: true,
          required: false,
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        },
        error_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'errorType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end