@Produces(value="application/json") public class JsonError extends AbstractResource<JsonError>
Modifier and Type | Field and Description |
---|---|
static Argument<JsonError> |
TYPE
The argument type.
|
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, setEmbedded, setLinks
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
deserialize
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