ErrorResponse Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. ErrorResponse
- com.
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. |
Error |
withAdditionalProperties(Map<String, Object> additionalProperties)
Set the additionalProperties value. |
Error |
withErrorType(String errorType)
Set the errorType value. |
Method Details
additionalProperties
public Map
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java