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 |
getFieldId() |
String |
getFieldKey() |
String |
getFieldValue() |
String |
getId() |
static APIRequest.ResponseParser<KeyValue> |
getParser() |
static KeyValue |
loadJSON(String json,
APIContext context) |
static APINodeList<KeyValue> |
parseResponse(String json,
APIContext context,
APIRequest request) |
void |
setContext(APIContext context) |
KeyValue |
setFieldId(String value) |
KeyValue |
setFieldKey(String value) |
KeyValue |
setFieldValue(String value) |
String |
toString() |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic static KeyValue loadJSON(String json, APIContext context)
public static APINodeList<KeyValue> parseResponse(String json, APIContext context, APIRequest request) throws APIException.MalformedResponseException
public APIContext getContext()
getContext in class APINodepublic void setContext(APIContext context)
setContext in class APINodepublic String getFieldKey()
public String getFieldValue()
public String getFieldId()
public static APIRequest.ResponseParser<KeyValue> getParser()
Copyright © 2018. All rights reserved.