public final class JsonEnvelope<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
error |
int |
errorCode |
java.lang.String |
message |
java.lang.String |
request_id |
T |
result |
int |
status |
| Constructor and Description |
|---|
JsonEnvelope() |
JsonEnvelope(JsonObject json,
T result) |
| Modifier and Type | Method and Description |
|---|---|
<T2> JsonEnvelope<T2> |
convert(T2 newValue) |
public T result
public int status
public java.lang.String request_id
public java.lang.String error
public int errorCode
public java.lang.String message
public JsonEnvelope()
public JsonEnvelope(JsonObject json,
T result)
public <T2> JsonEnvelope<T2> convert(T2 newValue)