public class DeliveryApi.APIlistDeliveryTradesRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listDeliveryTrades
|
List<FuturesTrade> |
execute()
Execute listDeliveryTrades request
|
okhttp3.Call |
executeAsync(ApiCallback<List<FuturesTrade>> _callback)
Execute listDeliveryTrades request (asynchronously)
|
ApiResponse<List<FuturesTrade>> |
executeWithHttpInfo()
Execute listDeliveryTrades request with HTTP info returned
|
DeliveryApi.APIlistDeliveryTradesRequest |
from(Long from)
Set from
|
DeliveryApi.APIlistDeliveryTradesRequest |
lastId(String lastId)
Set lastId
|
DeliveryApi.APIlistDeliveryTradesRequest |
limit(Integer limit)
Set limit
|
DeliveryApi.APIlistDeliveryTradesRequest |
to(Long to)
Set to
|
public DeliveryApi.APIlistDeliveryTradesRequest limit(Integer limit)
limit - Maximum number of records returned in one list (optional, default to 100)public DeliveryApi.APIlistDeliveryTradesRequest lastId(String lastId)
lastId - Specify list staring point using the id of last record in previous list-query results This parameter is deprecated. Use `from` and `to` instead to limit time range (optional)public DeliveryApi.APIlistDeliveryTradesRequest from(Long from)
from - Specify starting time in Unix seconds. If not specified, `to` and `limit` will be used to limit response items. If items between `from` and `to` are more than `limit`, only `limit` number will be returned. (optional)public DeliveryApi.APIlistDeliveryTradesRequest to(Long to)
to - Specify end time in Unix seconds, default to current time (optional)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 | List retrieved | - |
public List<FuturesTrade> 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 | List retrieved | - |
public ApiResponse<List<FuturesTrade>> 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 | List retrieved | - |
public okhttp3.Call executeAsync(ApiCallback<List<FuturesTrade>> _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 | List retrieved | - |
Copyright © 2021. All rights reserved.