public static class PageRestaurantServices.APIRequestGet extends APIRequest<PageRestaurantServices>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>
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 |
---|
APIRequestGet(String nodeId,
APIContext context) |
addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpoint
public APIRequestGet(String nodeId, APIContext context)
public PageRestaurantServices getLastResponse()
getLastResponse
in class APIRequest<PageRestaurantServices>
public PageRestaurantServices parseResponse(String response) throws APIException
parseResponse
in class APIRequest<PageRestaurantServices>
APIException
public PageRestaurantServices execute() throws APIException
execute
in class APIRequest<PageRestaurantServices>
APIException
public PageRestaurantServices execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<PageRestaurantServices>
APIException
public com.google.common.util.concurrent.ListenableFuture<PageRestaurantServices> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<PageRestaurantServices> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public PageRestaurantServices.APIRequestGet setParam(String param, Object value)
setParam
in class APIRequest<PageRestaurantServices>
public PageRestaurantServices.APIRequestGet setParams(Map<String,Object> params)
setParams
in class APIRequest<PageRestaurantServices>
public PageRestaurantServices.APIRequestGet requestAllFields()
public PageRestaurantServices.APIRequestGet requestAllFields(boolean value)
public PageRestaurantServices.APIRequestGet requestFields(List<String> fields)
requestFields
in class APIRequest<PageRestaurantServices>
public PageRestaurantServices.APIRequestGet requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<PageRestaurantServices>
public PageRestaurantServices.APIRequestGet requestField(String field)
requestField
in class APIRequest<PageRestaurantServices>
public PageRestaurantServices.APIRequestGet requestField(String field, boolean value)
requestField
in class APIRequest<PageRestaurantServices>
public PageRestaurantServices.APIRequestGet requestCateringField()
public PageRestaurantServices.APIRequestGet requestCateringField(boolean value)
public PageRestaurantServices.APIRequestGet requestDeliveryField()
public PageRestaurantServices.APIRequestGet requestDeliveryField(boolean value)
public PageRestaurantServices.APIRequestGet requestGroupsField()
public PageRestaurantServices.APIRequestGet requestGroupsField(boolean value)
public PageRestaurantServices.APIRequestGet requestKidsField()
public PageRestaurantServices.APIRequestGet requestKidsField(boolean value)
public PageRestaurantServices.APIRequestGet requestOutdoorField()
public PageRestaurantServices.APIRequestGet requestOutdoorField(boolean value)
public PageRestaurantServices.APIRequestGet requestPickupField()
public PageRestaurantServices.APIRequestGet requestPickupField(boolean value)
public PageRestaurantServices.APIRequestGet requestReserveField()
public PageRestaurantServices.APIRequestGet requestReserveField(boolean value)
public PageRestaurantServices.APIRequestGet requestTakeoutField()
public PageRestaurantServices.APIRequestGet requestTakeoutField(boolean value)
public PageRestaurantServices.APIRequestGet requestWaiterField()
public PageRestaurantServices.APIRequestGet requestWaiterField(boolean value)
public PageRestaurantServices.APIRequestGet requestWalkinsField()
public PageRestaurantServices.APIRequestGet requestWalkinsField(boolean value)
public PageRestaurantServices.APIRequestGet requestIdField()
public PageRestaurantServices.APIRequestGet requestIdField(boolean value)
Copyright © 2018. All rights reserved.