public class ExternalEventSource extends APINode
| Modifier and Type | Class and Description |
|---|---|
static class |
ExternalEventSource.APIRequestGet |
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
ExternalEventSource(Long id,
APIContext context) |
ExternalEventSource(String id,
APIContext context) |
| Modifier and Type | Method and Description |
|---|---|
ExternalEventSource |
copyFrom(ExternalEventSource instance) |
ExternalEventSource |
fetch() |
static ExternalEventSource |
fetchById(Long id,
APIContext context) |
static ExternalEventSource |
fetchById(String id,
APIContext context) |
static APINodeList<ExternalEventSource> |
fetchByIds(List<String> ids,
List<String> fields,
APIContext context) |
ExternalEventSource.APIRequestGet |
get() |
APIContext |
getContext() |
String |
getFieldId() |
String |
getFieldName() |
String |
getFieldSourceType() |
String |
getId() |
static APIRequest.ResponseParser<ExternalEventSource> |
getParser() |
static ExternalEventSource |
loadJSON(String json,
APIContext context) |
static APINodeList<ExternalEventSource> |
parseResponse(String json,
APIContext context,
APIRequest request) |
void |
setContext(APIContext context) |
String |
toString() |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic ExternalEventSource(Long id, APIContext context)
public ExternalEventSource(String id, APIContext context)
public ExternalEventSource fetch() throws APIException
APIExceptionpublic static ExternalEventSource fetchById(Long id, APIContext context) throws APIException
APIExceptionpublic static ExternalEventSource fetchById(String id, APIContext context) throws APIException
APIExceptionpublic static APINodeList<ExternalEventSource> fetchByIds(List<String> ids, List<String> fields, APIContext context) throws APIException
APIExceptionpublic static ExternalEventSource loadJSON(String json, APIContext context)
public static APINodeList<ExternalEventSource> 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 ExternalEventSource.APIRequestGet get()
public String getFieldId()
public String getFieldName()
public String getFieldSourceType()
public ExternalEventSource copyFrom(ExternalEventSource instance)
public static APIRequest.ResponseParser<ExternalEventSource> getParser()
Copyright © 2017. All rights reserved.