@InternalApi public class ApiErrorBody extends Object
Unknown properties in the response should be ignored.
| Constructor and Description |
|---|
ApiErrorBody() |
ApiErrorBody(String errorCode,
String message,
String scimDetail,
String scimStatus,
String scimType,
String api12Error,
ErrorDetails errorDetails)
Constructs an ApiErrorBody from the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getApi12Error() |
String |
getErrorCode() |
ErrorDetails |
getErrorDetails() |
String |
getMessage() |
String |
getScimDetail() |
String |
getScimStatus() |
String |
getScimType() |
void |
setApi12Error(String api12Error) |
void |
setErrorCode(String errorCode) |
void |
setErrorDetails(ErrorDetails errorDetails) |
void |
setMessage(String message) |
void |
setScimDetail(String scimDetail) |
void |
setScimStatus(String scimStatus) |
void |
setScimType(String scimType) |
public ApiErrorBody()
public ApiErrorBody(String errorCode, String message, String scimDetail, String scimStatus, String scimType, String api12Error, ErrorDetails errorDetails)
The error details are converted to a list of ErrorDetail objects. This only supports the ErrorInfo type.
errorCode - The error code.message - The error message.scimDetail - The SCIM detail.public ErrorDetails getErrorDetails()
public void setErrorDetails(ErrorDetails errorDetails)
public String getErrorCode()
public void setErrorCode(String errorCode)
public String getMessage()
public void setMessage(String message)
public String getScimDetail()
public void setScimDetail(String scimDetail)
public String getScimStatus()
public void setScimStatus(String scimStatus)
public String getScimType()
public void setScimType(String scimType)
public String getApi12Error()
public void setApi12Error(String api12Error)
Copyright © 2026. All rights reserved.