public static class ProductCatalog.APIRequestCreateHotelRoomsBatch extends APIRequest<ProductCatalog>
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 |
|---|
APIRequestCreateHotelRoomsBatch(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternalpublic APIRequestCreateHotelRoomsBatch(String nodeId, APIContext context)
public ProductCatalog getLastResponse()
getLastResponse in class APIRequest<ProductCatalog>public ProductCatalog parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<ProductCatalog>APIExceptionpublic ProductCatalog execute() throws APIException
execute in class APIRequest<ProductCatalog>APIExceptionpublic ProductCatalog execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<ProductCatalog>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<ProductCatalog> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<ProductCatalog> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic ProductCatalog.APIRequestCreateHotelRoomsBatch setParam(String param, Object value)
setParam in class APIRequest<ProductCatalog>public ProductCatalog.APIRequestCreateHotelRoomsBatch setParams(Map<String,Object> params)
setParams in class APIRequest<ProductCatalog>public ProductCatalog.APIRequestCreateHotelRoomsBatch addUploadFile(String uploadName, File file)
public ProductCatalog.APIRequestCreateHotelRoomsBatch setUseVideoEndpoint(boolean useVideoEndpoint)
setUseVideoEndpoint in class APIRequest<ProductCatalog>public ProductCatalog.APIRequestCreateHotelRoomsBatch setPassword(String password)
public ProductCatalog.APIRequestCreateHotelRoomsBatch setStandard(ProductCatalog.EnumStandard standard)
public ProductCatalog.APIRequestCreateHotelRoomsBatch setStandard(String standard)
public ProductCatalog.APIRequestCreateHotelRoomsBatch setUpdateOnly(Boolean updateOnly)
public ProductCatalog.APIRequestCreateHotelRoomsBatch setUpdateOnly(String updateOnly)
public ProductCatalog.APIRequestCreateHotelRoomsBatch setUrl(String url)
public ProductCatalog.APIRequestCreateHotelRoomsBatch setUsername(String username)
public ProductCatalog.APIRequestCreateHotelRoomsBatch requestAllFields()
public ProductCatalog.APIRequestCreateHotelRoomsBatch requestAllFields(boolean value)
public ProductCatalog.APIRequestCreateHotelRoomsBatch requestFields(List<String> fields)
requestFields in class APIRequest<ProductCatalog>public ProductCatalog.APIRequestCreateHotelRoomsBatch requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<ProductCatalog>public ProductCatalog.APIRequestCreateHotelRoomsBatch requestField(String field)
requestField in class APIRequest<ProductCatalog>public ProductCatalog.APIRequestCreateHotelRoomsBatch requestField(String field, boolean value)
requestField in class APIRequest<ProductCatalog>Copyright © 2020. All rights reserved.