public static class ProductFeed.APIRequestGetHotels extends APIRequest<Hotel>
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 |
|---|
APIRequestGetHotels(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 APIRequestGetHotels(String nodeId, APIContext context)
public APINodeList<Hotel> getLastResponse()
getLastResponse in class APIRequest<Hotel>public APINodeList<Hotel> parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<Hotel>APIExceptionpublic APINodeList<Hotel> execute() throws APIException
execute in class APIRequest<Hotel>APIExceptionpublic APINodeList<Hotel> execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<Hotel>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<Hotel>> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<Hotel>> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic ProductFeed.APIRequestGetHotels setParam(String param, Object value)
setParam in class APIRequest<Hotel>public ProductFeed.APIRequestGetHotels setParams(Map<String,Object> params)
setParams in class APIRequest<Hotel>public ProductFeed.APIRequestGetHotels setBulkPagination(Boolean bulkPagination)
public ProductFeed.APIRequestGetHotels setBulkPagination(String bulkPagination)
public ProductFeed.APIRequestGetHotels setFilter(Object filter)
public ProductFeed.APIRequestGetHotels setFilter(String filter)
public ProductFeed.APIRequestGetHotels requestAllFields()
public ProductFeed.APIRequestGetHotels requestAllFields(boolean value)
public ProductFeed.APIRequestGetHotels requestFields(List<String> fields)
requestFields in class APIRequest<Hotel>public ProductFeed.APIRequestGetHotels requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<Hotel>public ProductFeed.APIRequestGetHotels requestField(String field)
requestField in class APIRequest<Hotel>public ProductFeed.APIRequestGetHotels requestField(String field, boolean value)
requestField in class APIRequest<Hotel>public ProductFeed.APIRequestGetHotels requestAddressField()
public ProductFeed.APIRequestGetHotels requestAddressField(boolean value)
public ProductFeed.APIRequestGetHotels requestApplinksField()
public ProductFeed.APIRequestGetHotels requestApplinksField(boolean value)
public ProductFeed.APIRequestGetHotels requestBrandField()
public ProductFeed.APIRequestGetHotels requestBrandField(boolean value)
public ProductFeed.APIRequestGetHotels requestCategoryField()
public ProductFeed.APIRequestGetHotels requestCategoryField(boolean value)
public ProductFeed.APIRequestGetHotels requestCategorySpecificFieldsField()
public ProductFeed.APIRequestGetHotels requestCategorySpecificFieldsField(boolean value)
public ProductFeed.APIRequestGetHotels requestCurrencyField()
public ProductFeed.APIRequestGetHotels requestCurrencyField(boolean value)
public ProductFeed.APIRequestGetHotels requestDescriptionField()
public ProductFeed.APIRequestGetHotels requestDescriptionField(boolean value)
public ProductFeed.APIRequestGetHotels requestGuestRatingsField()
public ProductFeed.APIRequestGetHotels requestGuestRatingsField(boolean value)
public ProductFeed.APIRequestGetHotels requestHotelIdField()
public ProductFeed.APIRequestGetHotels requestHotelIdField(boolean value)
public ProductFeed.APIRequestGetHotels requestIdField()
public ProductFeed.APIRequestGetHotels requestIdField(boolean value)
public ProductFeed.APIRequestGetHotels requestImagesField()
public ProductFeed.APIRequestGetHotels requestImagesField(boolean value)
public ProductFeed.APIRequestGetHotels requestLowestBasePriceField()
public ProductFeed.APIRequestGetHotels requestLowestBasePriceField(boolean value)
public ProductFeed.APIRequestGetHotels requestLoyaltyProgramField()
public ProductFeed.APIRequestGetHotels requestLoyaltyProgramField(boolean value)
public ProductFeed.APIRequestGetHotels requestMarginLevelField()
public ProductFeed.APIRequestGetHotels requestMarginLevelField(boolean value)
public ProductFeed.APIRequestGetHotels requestNameField()
public ProductFeed.APIRequestGetHotels requestNameField(boolean value)
public ProductFeed.APIRequestGetHotels requestPhoneField()
public ProductFeed.APIRequestGetHotels requestPhoneField(boolean value)
public ProductFeed.APIRequestGetHotels requestSalePriceField()
public ProductFeed.APIRequestGetHotels requestSalePriceField(boolean value)
public ProductFeed.APIRequestGetHotels requestSanitizedImagesField()
public ProductFeed.APIRequestGetHotels requestSanitizedImagesField(boolean value)
public ProductFeed.APIRequestGetHotels requestStarRatingField()
public ProductFeed.APIRequestGetHotels requestStarRatingField(boolean value)
public ProductFeed.APIRequestGetHotels requestUrlField()
public ProductFeed.APIRequestGetHotels requestUrlField(boolean value)
Copyright © 2020. All rights reserved.