public static class ProductFeed.APIRequestGetFlights extends APIRequest<Flight>
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 |
|---|
APIRequestGetFlights(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 APIRequestGetFlights(String nodeId, APIContext context)
public APINodeList<Flight> getLastResponse()
getLastResponse in class APIRequest<Flight>public APINodeList<Flight> parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<Flight>APIExceptionpublic APINodeList<Flight> execute() throws APIException
execute in class APIRequest<Flight>APIExceptionpublic APINodeList<Flight> execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<Flight>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<Flight>> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<Flight>> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic ProductFeed.APIRequestGetFlights setParam(String param, Object value)
setParam in class APIRequest<Flight>public ProductFeed.APIRequestGetFlights setParams(Map<String,Object> params)
setParams in class APIRequest<Flight>public ProductFeed.APIRequestGetFlights setBulkPagination(Boolean bulkPagination)
public ProductFeed.APIRequestGetFlights setBulkPagination(String bulkPagination)
public ProductFeed.APIRequestGetFlights setFilter(Object filter)
public ProductFeed.APIRequestGetFlights setFilter(String filter)
public ProductFeed.APIRequestGetFlights requestAllFields()
public ProductFeed.APIRequestGetFlights requestAllFields(boolean value)
public ProductFeed.APIRequestGetFlights requestFields(List<String> fields)
requestFields in class APIRequest<Flight>public ProductFeed.APIRequestGetFlights requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<Flight>public ProductFeed.APIRequestGetFlights requestField(String field)
requestField in class APIRequest<Flight>public ProductFeed.APIRequestGetFlights requestField(String field, boolean value)
requestField in class APIRequest<Flight>public ProductFeed.APIRequestGetFlights requestApplinksField()
public ProductFeed.APIRequestGetFlights requestApplinksField(boolean value)
public ProductFeed.APIRequestGetFlights requestCategorySpecificFieldsField()
public ProductFeed.APIRequestGetFlights requestCategorySpecificFieldsField(boolean value)
public ProductFeed.APIRequestGetFlights requestCurrencyField()
public ProductFeed.APIRequestGetFlights requestCurrencyField(boolean value)
public ProductFeed.APIRequestGetFlights requestDescriptionField()
public ProductFeed.APIRequestGetFlights requestDescriptionField(boolean value)
public ProductFeed.APIRequestGetFlights requestDestinationAirportField()
public ProductFeed.APIRequestGetFlights requestDestinationAirportField(boolean value)
public ProductFeed.APIRequestGetFlights requestDestinationCityField()
public ProductFeed.APIRequestGetFlights requestDestinationCityField(boolean value)
public ProductFeed.APIRequestGetFlights requestFlightIdField()
public ProductFeed.APIRequestGetFlights requestFlightIdField(boolean value)
public ProductFeed.APIRequestGetFlights requestIdField()
public ProductFeed.APIRequestGetFlights requestIdField(boolean value)
public ProductFeed.APIRequestGetFlights requestImagesField()
public ProductFeed.APIRequestGetFlights requestImagesField(boolean value)
public ProductFeed.APIRequestGetFlights requestOnewayCurrencyField()
public ProductFeed.APIRequestGetFlights requestOnewayCurrencyField(boolean value)
public ProductFeed.APIRequestGetFlights requestOnewayPriceField()
public ProductFeed.APIRequestGetFlights requestOnewayPriceField(boolean value)
public ProductFeed.APIRequestGetFlights requestOriginAirportField()
public ProductFeed.APIRequestGetFlights requestOriginAirportField(boolean value)
public ProductFeed.APIRequestGetFlights requestOriginCityField()
public ProductFeed.APIRequestGetFlights requestOriginCityField(boolean value)
public ProductFeed.APIRequestGetFlights requestPriceField()
public ProductFeed.APIRequestGetFlights requestPriceField(boolean value)
public ProductFeed.APIRequestGetFlights requestSanitizedImagesField()
public ProductFeed.APIRequestGetFlights requestSanitizedImagesField(boolean value)
public ProductFeed.APIRequestGetFlights requestUrlField()
public ProductFeed.APIRequestGetFlights requestUrlField(boolean value)
Copyright © 2020. All rights reserved.