public class Lead extends APINode
| Modifier and Type | Class and Description |
|---|---|
static class |
Lead.APIRequestDelete |
static class |
Lead.APIRequestGet |
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.gson.Gson |
gson |
| Constructor and Description |
|---|
Lead(Long id,
APIContext context) |
Lead(String id,
APIContext context) |
getException, getRawResponse, getRawResponseAsJsonObject, getRawValue, head, parseResponsepublic Lead(Long id, APIContext context)
public Lead(String id, APIContext context)
public Lead fetch() throws APIException
APIExceptionpublic static Lead fetchById(Long id, APIContext context) throws APIException
APIExceptionpublic static Lead fetchById(String id, APIContext context) throws APIException
APIExceptionpublic static APINodeList<Lead> fetchByIds(List<String> ids, List<String> fields, APIContext context) throws APIException
APIExceptionpublic static Lead loadJSON(String json, APIContext context)
public static APINodeList<Lead> 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 Lead.APIRequestDelete delete()
public Lead.APIRequestGet get()
public String getFieldAdId()
public String getFieldAdName()
public String getFieldAdsetId()
public String getFieldAdsetName()
public String getFieldCampaignId()
public String getFieldCampaignName()
public String getFieldCreatedTime()
public List<UserLeadGenDisclaimerResponse> getFieldCustomDisclaimerResponses()
public List<UserLeadGenFieldData> getFieldFieldData()
public String getFieldFormId()
public String getFieldId()
public Boolean getFieldIsOrganic()
public Object getFieldPost()
public String getFieldRetailerItemId()
public static APIRequest.ResponseParser<Lead> getParser()
Copyright © 2017. All rights reserved.