public class FuturesApi.APIlistFuturesOrdersRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listFuturesOrders
|
List<FuturesOrder> |
execute()
Execute listFuturesOrders request
|
okhttp3.Call |
executeAsync(ApiCallback<List<FuturesOrder>> _callback)
Execute listFuturesOrders request (asynchronously)
|
ApiResponse<List<FuturesOrder>> |
executeWithHttpInfo()
Execute listFuturesOrders request with HTTP info returned
|
FuturesApi.APIlistFuturesOrdersRequest |
lastId(String lastId)
Set lastId
|
FuturesApi.APIlistFuturesOrdersRequest |
limit(Integer limit)
Set limit
|
FuturesApi.APIlistFuturesOrdersRequest |
offset(Integer offset)
Set offset
|
public FuturesApi.APIlistFuturesOrdersRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public FuturesApi.APIlistFuturesOrdersRequest offset(Integer offset)
offset - List offset, starting from 0 (optional, default to 0)public FuturesApi.APIlistFuturesOrdersRequest lastId(String lastId)
lastId - Specify list staring point using the `id` of last record in previous list-query results (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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified |
public List<FuturesOrder> 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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified |
public ApiResponse<List<FuturesOrder>> 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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified |
public okhttp3.Call executeAsync(ApiCallback<List<FuturesOrder>> _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 | * X-Pagination-Limit - Request limit specified * X-Pagination-Offset - Request offset specified |
Copyright © 2023. All rights reserved.