ErrorBody Class
- java.
lang. Object - com.
azure. communication. administration. models. ErrorBody
- com.
public final class ErrorBody
The ErrorBody model.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ErrorBody() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getCode()
Get the code property: The error code in the error response. |
| String |
getMessage()
Get the message property: The error message in the error response. |
|
Error |
setCode(String code)
Set the code property: The error code in the error response. |
|
Error |
setMessage(String message)
Set the message property: The error message in the error response. |
Methods inherited from java.lang.Object
Constructor Details
ErrorBody
public ErrorBody()
Method Details
getCode
public String getCode()
Get the code property: The error code in the error response.
Returns:
getMessage
public String getMessage()
Get the message property: The error message in the error response.
Returns:
setCode
public ErrorBody setCode(String code)
Set the code property: The error code in the error response.
Parameters:
Returns:
setMessage
public ErrorBody setMessage(String message)
Set the message property: The error message in the error response.
Parameters:
Returns: