public static class WhatsAppBusinessAccount.APIRequestGetConversationAnalytics 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 |
|---|
APIRequestGetConversationAnalytics(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 APIRequestGetConversationAnalytics(String nodeId, APIContext context)
public APINodeList<APINode> getLastResponse()
getLastResponse in class APIRequest<APINode>public APINodeList<APINode> parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<APINode>APIExceptionpublic APINodeList<APINode> execute() throws APIException
execute in class APIRequest<APINode>APIExceptionpublic APINodeList<APINode> execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<APINode>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<APINode>> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<APINode>> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setParam(String param, Object value)
setParam in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setParams(Map<String,Object> params)
setParams in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setConversationCategories(List<WhatsAppBusinessAccount.EnumConversationCategories> conversationCategories)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setConversationCategories(String conversationCategories)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setConversationDirections(List<WhatsAppBusinessAccount.EnumConversationDirections> conversationDirections)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setConversationDirections(String conversationDirections)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setConversationTypes(List<WhatsAppBusinessAccount.EnumConversationTypes> conversationTypes)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setConversationTypes(String conversationTypes)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setCountryCodes(List<String> countryCodes)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setCountryCodes(String countryCodes)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setDimensions(List<WhatsAppBusinessAccount.EnumDimensions> dimensions)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setDimensions(String dimensions)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setEnd(Long end)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setEnd(String end)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setGranularity(WhatsAppBusinessAccount.EnumGranularity granularity)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setGranularity(String granularity)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setMetricTypes(List<WhatsAppBusinessAccount.EnumMetricTypes> metricTypes)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setMetricTypes(String metricTypes)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setPhoneNumbers(List<String> phoneNumbers)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setPhoneNumbers(String phoneNumbers)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setStart(Long start)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics setStart(String start)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics requestAllFields()
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics requestAllFields(boolean value)
public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics requestFields(List<String> fields)
requestFields in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics requestField(String field)
requestField in class APIRequest<APINode>public WhatsAppBusinessAccount.APIRequestGetConversationAnalytics requestField(String field, boolean value)
requestField in class APIRequest<APINode>Copyright © 2024. All rights reserved.