public class DeliveryApi.APIlistDeliveryOrderBookRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listDeliveryOrderBook
|
FuturesOrderBook |
execute()
Execute listDeliveryOrderBook request
|
okhttp3.Call |
executeAsync(ApiCallback<FuturesOrderBook> _callback)
Execute listDeliveryOrderBook request (asynchronously)
|
ApiResponse<FuturesOrderBook> |
executeWithHttpInfo()
Execute listDeliveryOrderBook request with HTTP info returned
|
DeliveryApi.APIlistDeliveryOrderBookRequest |
interval(String interval)
Set interval
|
DeliveryApi.APIlistDeliveryOrderBookRequest |
limit(Integer limit)
Set limit
|
DeliveryApi.APIlistDeliveryOrderBookRequest |
withId(Boolean withId)
Set withId
|
public DeliveryApi.APIlistDeliveryOrderBookRequest interval(String interval)
interval - Order depth. 0 means no aggregation is applied. default to 0 (optional, default to 0)public DeliveryApi.APIlistDeliveryOrderBookRequest limit(Integer limit)
limit - Maximum number of order depth data in asks or bids (optional, default to 10)public DeliveryApi.APIlistDeliveryOrderBookRequest withId(Boolean withId)
withId - Whether the order book update ID will be returned. This ID increases by 1 on every order book update (optional, default to false)public okhttp3.Call buildCall(ApiCallback _callback) throws ApiException
_callback - ApiCallback API callbackApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | Order book retrieved | - |
public FuturesOrderBook execute() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order book retrieved | - |
public ApiResponse<FuturesOrderBook> executeWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | Order book retrieved | - |
public okhttp3.Call executeAsync(ApiCallback<FuturesOrderBook> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | Order book retrieved | - |
Copyright © 2023. All rights reserved.