public class FuturesApi.APIlistContractStatsRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listContractStats
|
List<ContractStat> |
execute()
Execute listContractStats request
|
okhttp3.Call |
executeAsync(ApiCallback<List<ContractStat>> _callback)
Execute listContractStats request (asynchronously)
|
ApiResponse<List<ContractStat>> |
executeWithHttpInfo()
Execute listContractStats request with HTTP info returned
|
FuturesApi.APIlistContractStatsRequest |
from(Long from)
Set from
|
FuturesApi.APIlistContractStatsRequest |
interval(String interval)
Set interval
|
FuturesApi.APIlistContractStatsRequest |
limit(Integer limit)
Set limit
|
public FuturesApi.APIlistContractStatsRequest from(Long from)
from - Start timestamp (optional)public FuturesApi.APIlistContractStatsRequest interval(String interval)
interval - (optional, default to 5m)public FuturesApi.APIlistContractStatsRequest limit(Integer limit)
limit - (optional, default to 30)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<ContractStat> 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<ContractStat>> 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<ContractStat>> _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 © 2023. All rights reserved.