public class KeyValue extends APINode
Modifier and Type | Field and Description |
---|---|
protected static com.google.gson.Gson |
gson |
Constructor and Description |
---|
KeyValue() |
Modifier and Type | Method and Description |
---|---|
KeyValue |
copyFrom(KeyValue instance) |
APIContext |
getContext() |
String |
getFieldKey() |
String |
getFieldValue() |
String |
getId() |
static APIRequest.ResponseParser<KeyValue> |
getParser() |
static KeyValue |
loadJSON(String json,
APIContext context,
String header) |
static APINodeList<KeyValue> |
parseResponse(String json,
APIContext context,
APIRequest request,
String header) |
void |
setContext(APIContext context) |
KeyValue |
setFieldKey(String value) |
KeyValue |
setFieldValue(String value) |
String |
toString() |
getException, getHeader, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponse
public static KeyValue loadJSON(String json, APIContext context, String header)
public static APINodeList<KeyValue> 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 String getFieldKey()
public String getFieldValue()
public static APIRequest.ResponseParser<KeyValue> getParser()
Copyright © 2023. All rights reserved.