Class ErrorDTO
java.lang.Object
org.wso2.am.integration.clients.admin.api.dto.ErrorDTO
ErrorDTO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanerror(List<ErrorListItemDTO> error) getCode()Error codeA detail description about the error message.getError()If there are more than one error list them out.Error message.Preferably an url with more details about the error.inthashCode()voidvoidsetDescription(String description) voidsetError(List<ErrorListItemDTO> error) voidsetMessage(String message) voidsetMoreInfo(String moreInfo) toString()
-
Field Details
-
SERIALIZED_NAME_CODE
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_MORE_INFO
- See Also:
-
SERIALIZED_NAME_ERROR
- See Also:
-
-
Constructor Details
-
ErrorDTO
public ErrorDTO()
-
-
Method Details
-
code
-
getCode
Error code- Returns:
- code
-
setCode
-
message
-
getMessage
Error message.- Returns:
- message
-
setMessage
-
description
-
getDescription
A detail description about the error message.- Returns:
- description
-
setDescription
-
moreInfo
-
getMoreInfo
Preferably an url with more details about the error.- Returns:
- moreInfo
-
setMoreInfo
-
error
-
getError
If there are more than one error list them out. For example, list out validation errors by each field.- Returns:
- error
-
setError
-
equals
-
hashCode
public int hashCode() -
toString
-