public static class WhatsAppBusinessAccount.APIRequestCreateFlow extends APIRequest<APINode>
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 |
|---|
APIRequestCreateFlow(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 APIRequestCreateFlow(String nodeId, APIContext context)
public APINode getLastResponse()
getLastResponse in class APIRequest<APINode>public APINode parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<APINode>APIExceptionpublic APINode execute() throws APIException
execute in class APIRequest<APINode>APIExceptionpublic APINode execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<APINode>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINode> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINode> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic WhatsAppBusinessAccount.APIRequestCreateFlow setParam(String param, Object value)
setParam in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestCreateFlow setParams(Map<String,Object> params)
setParams in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestCreateFlow setCategories(List<WhatsAppBusinessAccount.EnumCategories> categories)
public WhatsAppBusinessAccount.APIRequestCreateFlow setCategories(String categories)
public WhatsAppBusinessAccount.APIRequestCreateFlow setCloneFlowId(String cloneFlowId)
public WhatsAppBusinessAccount.APIRequestCreateFlow setEndpointUri(String endpointUri)
public WhatsAppBusinessAccount.APIRequestCreateFlow setFlowJson(String flowJson)
public WhatsAppBusinessAccount.APIRequestCreateFlow setName(String name)
public WhatsAppBusinessAccount.APIRequestCreateFlow setPublish(Boolean publish)
public WhatsAppBusinessAccount.APIRequestCreateFlow setPublish(String publish)
public WhatsAppBusinessAccount.APIRequestCreateFlow requestAllFields()
public WhatsAppBusinessAccount.APIRequestCreateFlow requestAllFields(boolean value)
public WhatsAppBusinessAccount.APIRequestCreateFlow requestFields(List<String> fields)
requestFields in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestCreateFlow requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestCreateFlow requestField(String field)
requestField in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestCreateFlow requestField(String field, boolean value)
requestField in class APIRequest<APINode>Copyright © 2025. All rights reserved.