public static class InstantArticle.APIRequestGetInsights extends APIRequest<InstantArticleInsightsQueryResult>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>| 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 |
|---|
APIRequestGetInsights(String nodeId,
APIContext context) |
addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestGetInsights(String nodeId, APIContext context)
public APINodeList<InstantArticleInsightsQueryResult> getLastResponse()
getLastResponse in class APIRequest<InstantArticleInsightsQueryResult>public APINodeList<InstantArticleInsightsQueryResult> parseResponse(String response) throws APIException
parseResponse in class APIRequest<InstantArticleInsightsQueryResult>APIExceptionpublic APINodeList<InstantArticleInsightsQueryResult> execute() throws APIException
execute in class APIRequest<InstantArticleInsightsQueryResult>APIExceptionpublic APINodeList<InstantArticleInsightsQueryResult> execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<InstantArticleInsightsQueryResult>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<InstantArticleInsightsQueryResult>> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<InstantArticleInsightsQueryResult>> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic InstantArticle.APIRequestGetInsights setParam(String param, Object value)
setParam in class APIRequest<InstantArticleInsightsQueryResult>public InstantArticle.APIRequestGetInsights setParams(Map<String,Object> params)
setParams in class APIRequest<InstantArticleInsightsQueryResult>public InstantArticle.APIRequestGetInsights setMetric(List<Object> metric)
public InstantArticle.APIRequestGetInsights setMetric(String metric)
public InstantArticle.APIRequestGetInsights setPeriod(InstantArticleInsightsQueryResult.EnumPeriod period)
public InstantArticle.APIRequestGetInsights setPeriod(String period)
public InstantArticle.APIRequestGetInsights setSince(String since)
public InstantArticle.APIRequestGetInsights setUntil(String until)
public InstantArticle.APIRequestGetInsights setBreakdown(InstantArticleInsightsQueryResult.EnumBreakdown breakdown)
public InstantArticle.APIRequestGetInsights setBreakdown(String breakdown)
public InstantArticle.APIRequestGetInsights requestAllFields()
public InstantArticle.APIRequestGetInsights requestAllFields(boolean value)
public InstantArticle.APIRequestGetInsights requestFields(List<String> fields)
requestFields in class APIRequest<InstantArticleInsightsQueryResult>public InstantArticle.APIRequestGetInsights requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<InstantArticleInsightsQueryResult>public InstantArticle.APIRequestGetInsights requestField(String field)
requestField in class APIRequest<InstantArticleInsightsQueryResult>public InstantArticle.APIRequestGetInsights requestField(String field, boolean value)
requestField in class APIRequest<InstantArticleInsightsQueryResult>public InstantArticle.APIRequestGetInsights requestBreakdownsField()
public InstantArticle.APIRequestGetInsights requestBreakdownsField(boolean value)
public InstantArticle.APIRequestGetInsights requestNameField()
public InstantArticle.APIRequestGetInsights requestNameField(boolean value)
public InstantArticle.APIRequestGetInsights requestTimeField()
public InstantArticle.APIRequestGetInsights requestTimeField(boolean value)
public InstantArticle.APIRequestGetInsights requestValueField()
public InstantArticle.APIRequestGetInsights requestValueField(boolean value)
public InstantArticle.APIRequestGetInsights requestIdField()
public InstantArticle.APIRequestGetInsights requestIdField(boolean value)
Copyright © 2018. All rights reserved.