public static class ProductFeedRule.APIRequestUpdate extends APIRequest<ProductFeedRule>
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 |
---|
APIRequestUpdate(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpoint
public APIRequestUpdate(String nodeId, APIContext context)
public ProductFeedRule getLastResponse()
getLastResponse
in class APIRequest<ProductFeedRule>
public ProductFeedRule parseResponse(String response, String header) throws APIException
parseResponse
in class APIRequest<ProductFeedRule>
APIException
public ProductFeedRule execute() throws APIException
execute
in class APIRequest<ProductFeedRule>
APIException
public ProductFeedRule execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<ProductFeedRule>
APIException
public com.google.common.util.concurrent.ListenableFuture<ProductFeedRule> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<ProductFeedRule> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public ProductFeedRule.APIRequestUpdate setParam(String param, Object value)
setParam
in class APIRequest<ProductFeedRule>
public ProductFeedRule.APIRequestUpdate setParams(Map<String,Object> params)
setParams
in class APIRequest<ProductFeedRule>
public ProductFeedRule.APIRequestUpdate setparamParams(Map<String,String> params)
public ProductFeedRule.APIRequestUpdate setParams(String params)
public ProductFeedRule.APIRequestUpdate requestAllFields()
public ProductFeedRule.APIRequestUpdate requestAllFields(boolean value)
public ProductFeedRule.APIRequestUpdate requestFields(List<String> fields)
requestFields
in class APIRequest<ProductFeedRule>
public ProductFeedRule.APIRequestUpdate requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<ProductFeedRule>
public ProductFeedRule.APIRequestUpdate requestField(String field)
requestField
in class APIRequest<ProductFeedRule>
public ProductFeedRule.APIRequestUpdate requestField(String field, boolean value)
requestField
in class APIRequest<ProductFeedRule>
Copyright © 2023. All rights reserved.