public static class ProductCatalog.APIRequestGetHotelRoomsBatch extends APIRequest<ProductCatalogHotelRoomsBatch>
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 |
|---|
APIRequestGetHotelRoomsBatch(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 APIRequestGetHotelRoomsBatch(String nodeId, APIContext context)
public APINodeList<ProductCatalogHotelRoomsBatch> getLastResponse()
getLastResponse in class APIRequest<ProductCatalogHotelRoomsBatch>public APINodeList<ProductCatalogHotelRoomsBatch> parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<ProductCatalogHotelRoomsBatch>APIExceptionpublic APINodeList<ProductCatalogHotelRoomsBatch> execute() throws APIException
execute in class APIRequest<ProductCatalogHotelRoomsBatch>APIExceptionpublic APINodeList<ProductCatalogHotelRoomsBatch> execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<ProductCatalogHotelRoomsBatch>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<ProductCatalogHotelRoomsBatch>> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<ProductCatalogHotelRoomsBatch>> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic ProductCatalog.APIRequestGetHotelRoomsBatch setParam(String param, Object value)
setParam in class APIRequest<ProductCatalogHotelRoomsBatch>public ProductCatalog.APIRequestGetHotelRoomsBatch setParams(Map<String,Object> params)
setParams in class APIRequest<ProductCatalogHotelRoomsBatch>public ProductCatalog.APIRequestGetHotelRoomsBatch setHandle(String handle)
public ProductCatalog.APIRequestGetHotelRoomsBatch requestAllFields()
public ProductCatalog.APIRequestGetHotelRoomsBatch requestAllFields(boolean value)
public ProductCatalog.APIRequestGetHotelRoomsBatch requestFields(List<String> fields)
requestFields in class APIRequest<ProductCatalogHotelRoomsBatch>public ProductCatalog.APIRequestGetHotelRoomsBatch requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<ProductCatalogHotelRoomsBatch>public ProductCatalog.APIRequestGetHotelRoomsBatch requestField(String field)
requestField in class APIRequest<ProductCatalogHotelRoomsBatch>public ProductCatalog.APIRequestGetHotelRoomsBatch requestField(String field, boolean value)
requestField in class APIRequest<ProductCatalogHotelRoomsBatch>public ProductCatalog.APIRequestGetHotelRoomsBatch requestErrorsField()
public ProductCatalog.APIRequestGetHotelRoomsBatch requestErrorsField(boolean value)
public ProductCatalog.APIRequestGetHotelRoomsBatch requestErrorsTotalCountField()
public ProductCatalog.APIRequestGetHotelRoomsBatch requestErrorsTotalCountField(boolean value)
public ProductCatalog.APIRequestGetHotelRoomsBatch requestHandleField()
public ProductCatalog.APIRequestGetHotelRoomsBatch requestHandleField(boolean value)
public ProductCatalog.APIRequestGetHotelRoomsBatch requestStatusField()
public ProductCatalog.APIRequestGetHotelRoomsBatch requestStatusField(boolean value)
Copyright © 2020. All rights reserved.