ErrorResponse Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ErrorResponse

public class ErrorResponse

Error response when invoking an operation on the API.

Method Summary

Modifier and Type Method and Description
Map<String, Object> additionalProperties()

Get the additionalProperties value.

String errorType()

Get the errorType value.

ErrorResponse withAdditionalProperties(Map<String, Object> additionalProperties)

Set the additionalProperties value.

ErrorResponse withErrorType(String errorType)

Set the errorType value.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties value.

Returns:

the additionalProperties value

errorType

public String errorType()

Get the errorType value.

Returns:

the errorType value

withAdditionalProperties

public ErrorResponse withAdditionalProperties(Map additionalProperties)

Set the additionalProperties value.

Parameters:

additionalProperties - the additionalProperties value to set

Returns:

the ErrorResponse object itself.

withErrorType

public ErrorResponse withErrorType(String errorType)

Set the errorType value.

Parameters:

errorType - the errorType value to set

Returns:

the ErrorResponse object itself.

Applies to