Class ErrorResponse
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ErrorResponse
-
public class ErrorResponse extends Object
Error response when invoking an operation on the API.
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Detail
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties value.- Returns:
- the additionalProperties value
-
withAdditionalProperties
public ErrorResponse withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties value.- Parameters:
additionalProperties
- the additionalProperties value to set- Returns:
- the ErrorResponse object itself.
-
errorType
public String errorType()
Get the errorType value.- Returns:
- the errorType value
-
withErrorType
public ErrorResponse withErrorType(String errorType)
Set the errorType value.- Parameters:
errorType
- the errorType value to set- Returns:
- the ErrorResponse object itself.
-
-