public static class LeadgenForm.APIRequestCreateTestLead extends APIRequest<Lead>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>, APIRequest.ResponseWrapper| Modifier and Type | Field and Description |
|---|---|
static String[] |
FIELDS |
static String[] |
PARAMS |
context, endpoint, method, nodeId, paramNames, params, parser, returnFields, USER_AGENT, useVideoEndpoint| Constructor and Description |
|---|
APIRequestCreateTestLead(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestCreateTestLead(String nodeId, APIContext context)
public Lead getLastResponse()
getLastResponse in class APIRequest<Lead>public Lead parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<Lead>APIExceptionpublic Lead execute() throws APIException
execute in class APIRequest<Lead>APIExceptionpublic Lead execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<Lead>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<Lead> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<Lead> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic LeadgenForm.APIRequestCreateTestLead setParam(String param, Object value)
setParam in class APIRequest<Lead>public LeadgenForm.APIRequestCreateTestLead setParams(Map<String,Object> params)
setParams in class APIRequest<Lead>public LeadgenForm.APIRequestCreateTestLead setCustomDisclaimerResponses(List<Object> customDisclaimerResponses)
public LeadgenForm.APIRequestCreateTestLead setCustomDisclaimerResponses(String customDisclaimerResponses)
public LeadgenForm.APIRequestCreateTestLead setFieldData(List<Object> fieldData)
public LeadgenForm.APIRequestCreateTestLead setFieldData(String fieldData)
public LeadgenForm.APIRequestCreateTestLead requestAllFields()
public LeadgenForm.APIRequestCreateTestLead requestAllFields(boolean value)
public LeadgenForm.APIRequestCreateTestLead requestFields(List<String> fields)
requestFields in class APIRequest<Lead>public LeadgenForm.APIRequestCreateTestLead requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<Lead>public LeadgenForm.APIRequestCreateTestLead requestField(String field)
requestField in class APIRequest<Lead>public LeadgenForm.APIRequestCreateTestLead requestField(String field, boolean value)
requestField in class APIRequest<Lead>Copyright © 2020. All rights reserved.