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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java