public class AdRule extends APINode
| Modifier and Type | Class and Description |
|---|---|
static class |
AdRule.APIRequestDelete |
static class |
AdRule.APIRequestGet |
static class |
AdRule.APIRequestGetHistory |
static class |
AdRule.APIRequestUpdate |
static class |
AdRule.EnumStatus |
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
AdRule(Long id,
APIContext context) |
AdRule(String id,
APIContext context) |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic AdRule(Long id, APIContext context)
public AdRule(String id, APIContext context)
public AdRule fetch() throws APIException
APIExceptionpublic static AdRule fetchById(Long id, APIContext context) throws APIException
APIExceptionpublic static AdRule fetchById(String id, APIContext context) throws APIException
APIExceptionpublic static APINodeList<AdRule> fetchByIds(List<String> ids, List<String> fields, APIContext context) throws APIException
APIExceptionpublic static AdRule loadJSON(String json, APIContext context)
public static APINodeList<AdRule> 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 AdRule.APIRequestGetHistory getHistory()
public AdRule.APIRequestDelete delete()
public AdRule.APIRequestGet get()
public AdRule.APIRequestUpdate update()
public String getFieldAccountId()
public User getFieldCreatedBy()
public String getFieldCreatedTime()
public AdRuleEvaluationSpec getFieldEvaluationSpec()
public AdRuleExecutionSpec getFieldExecutionSpec()
public String getFieldId()
public String getFieldName()
public AdRuleScheduleSpec getFieldScheduleSpec()
public String getFieldStatus()
public String getFieldUpdatedTime()
public static APIRequest.ResponseParser<AdRule> getParser()
Copyright © 2017. All rights reserved.