ErrorResponse Class
- java.
lang. Object - com.
azure. communication. administration. models. ErrorResponse
- com.
public final class ErrorResponse
The ErrorResponse model.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ErrorResponse() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Error |
getError()
Get the error property: Represents a service error response body. |
|
Error |
setError(ErrorBody error)
Set the error property: Represents a service error response body. |
Methods inherited from java.lang.Object
Constructor Details
ErrorResponse
public ErrorResponse()
Method Details
getError
public ErrorBody getError()
Get the error property: Represents a service error response body.
Returns:
setError
public ErrorResponse setError(ErrorBody error)
Set the error property: Represents a service error response body.
Parameters:
Returns: