你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ErrorResponse 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. ErrorResponse
- com.
public class ErrorResponse
对 API 调用操作时出现错误响应。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Map<String, Object> |
additionalProperties()
获取 additionalProperties 值。 |
String |
errorType()
获取 errorType 值。 |
Error |
withAdditionalProperties(Map<String, Object> additionalProperties)
设置 additionalProperties 值。 |
Error |
withErrorType(String errorType)
设置 errorType 值。 |
方法详细信息
additionalProperties
public Map
获取 additionalProperties 值。
Returns:
additionalProperties 值
errorType
public String errorType()
获取 errorType 值。
Returns:
errorType 值
withAdditionalProperties
public ErrorResponse withAdditionalProperties(Map
设置 additionalProperties 值。
Parameters:
additionalProperties
- 要设置的 additionalProperties 值
Returns:
ErrorResponse 对象本身。
withErrorType
public ErrorResponse withErrorType(String errorType)
设置 errorType 值。
Parameters:
errorType
- 要设置的 errorType 值
Returns:
ErrorResponse 对象本身。