@Produces(value="application/json") public class JsonError extends AbstractResource<JsonError>
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getLogref() |
String |
getMessage() |
Optional<String> |
getPath() |
JsonError |
logref(String logref)
Sets the logref.
|
JsonError |
path(String path)
Sets the path.
|
void |
setMessage(String message) |
String |
toString() |
embedded, embedded, embedded, getEmbedded, getLinks, link, link, setLinks
public JsonError(String message)
message
- The messagepublic void setMessage(String message)
message
- The messagepublic String getMessage()
public JsonError path(@Nullable String path)
path
- The pathpublic JsonError logref(@Nullable String logref)
logref
- The logref