public class AsyncRequest extends APINode
Modifier and Type | Class and Description |
---|---|
static class |
AsyncRequest.EnumStatus |
static class |
AsyncRequest.EnumType |
Modifier and Type | Field and Description |
---|---|
protected static com.google.gson.Gson |
gson |
Constructor and Description |
---|
AsyncRequest() |
Modifier and Type | Method and Description |
---|---|
AsyncRequest |
copyFrom(AsyncRequest instance) |
APIContext |
getContext() |
Long |
getFieldId() |
String |
getFieldResult() |
Long |
getFieldStatus() |
Long |
getFieldType() |
String |
getId() |
static APIRequest.ResponseParser<AsyncRequest> |
getParser() |
static AsyncRequest |
loadJSON(String json,
APIContext context,
String header) |
static APINodeList<AsyncRequest> |
parseResponse(String json,
APIContext context,
APIRequest request,
String header) |
void |
setContext(APIContext context) |
AsyncRequest |
setFieldId(Long value) |
AsyncRequest |
setFieldResult(String value) |
AsyncRequest |
setFieldStatus(Long value) |
AsyncRequest |
setFieldType(Long value) |
String |
toString() |
getException, getHeader, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponse
public static AsyncRequest loadJSON(String json, APIContext context, String header)
public static APINodeList<AsyncRequest> parseResponse(String json, APIContext context, APIRequest request, String header) throws APIException.MalformedResponseException
public APIContext getContext()
getContext
in class APINode
public void setContext(APIContext context)
setContext
in class APINode
public Long getFieldId()
public AsyncRequest setFieldId(Long value)
public String getFieldResult()
public AsyncRequest setFieldResult(String value)
public Long getFieldStatus()
public AsyncRequest setFieldStatus(Long value)
public Long getFieldType()
public AsyncRequest setFieldType(Long value)
public AsyncRequest copyFrom(AsyncRequest instance)
public static APIRequest.ResponseParser<AsyncRequest> getParser()
Copyright © 2020. All rights reserved.