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