public static class VideoAsset.APIRequestGetInsights extends APIRequest<InsightsResult>
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 |
|---|
APIRequestGetInsights(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 APIRequestGetInsights(String nodeId, APIContext context)
public APINodeList<InsightsResult> getLastResponse()
getLastResponse in class APIRequest<InsightsResult>public APINodeList<InsightsResult> parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<InsightsResult>APIExceptionpublic APINodeList<InsightsResult> execute() throws APIException
execute in class APIRequest<InsightsResult>APIExceptionpublic APINodeList<InsightsResult> execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<InsightsResult>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<InsightsResult>> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<InsightsResult>> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic VideoAsset.APIRequestGetInsights setParam(String param, Object value)
setParam in class APIRequest<InsightsResult>public VideoAsset.APIRequestGetInsights setParams(Map<String,Object> params)
setParams in class APIRequest<InsightsResult>public VideoAsset.APIRequestGetInsights setMetric(List<InsightsResult.EnumMetric> metric)
public VideoAsset.APIRequestGetInsights setMetric(String metric)
public VideoAsset.APIRequestGetInsights setPeriod(InsightsResult.EnumPeriod period)
public VideoAsset.APIRequestGetInsights setPeriod(String period)
public VideoAsset.APIRequestGetInsights requestAllFields()
public VideoAsset.APIRequestGetInsights requestAllFields(boolean value)
public VideoAsset.APIRequestGetInsights requestFields(List<String> fields)
requestFields in class APIRequest<InsightsResult>public VideoAsset.APIRequestGetInsights requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<InsightsResult>public VideoAsset.APIRequestGetInsights requestField(String field)
requestField in class APIRequest<InsightsResult>public VideoAsset.APIRequestGetInsights requestField(String field, boolean value)
requestField in class APIRequest<InsightsResult>public VideoAsset.APIRequestGetInsights requestDescriptionField()
public VideoAsset.APIRequestGetInsights requestDescriptionField(boolean value)
public VideoAsset.APIRequestGetInsights requestDescriptionFromApiDocField()
public VideoAsset.APIRequestGetInsights requestDescriptionFromApiDocField(boolean value)
public VideoAsset.APIRequestGetInsights requestIdField()
public VideoAsset.APIRequestGetInsights requestIdField(boolean value)
public VideoAsset.APIRequestGetInsights requestNameField()
public VideoAsset.APIRequestGetInsights requestNameField(boolean value)
public VideoAsset.APIRequestGetInsights requestPeriodField()
public VideoAsset.APIRequestGetInsights requestPeriodField(boolean value)
public VideoAsset.APIRequestGetInsights requestTitleField()
public VideoAsset.APIRequestGetInsights requestTitleField(boolean value)
public VideoAsset.APIRequestGetInsights requestValuesField()
public VideoAsset.APIRequestGetInsights requestValuesField(boolean value)
Copyright © 2024. All rights reserved.