| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listCrossMarginAccountBook
|
MarginApi.APIlistCrossMarginAccountBookRequest |
currency(String currency)
Set currency
|
List<CrossMarginAccountBook> |
execute()
Execute listCrossMarginAccountBook request
|
okhttp3.Call |
executeAsync(ApiCallback<List<CrossMarginAccountBook>> _callback)
Execute listCrossMarginAccountBook request (asynchronously)
|
ApiResponse<List<CrossMarginAccountBook>> |
executeWithHttpInfo()
Execute listCrossMarginAccountBook request with HTTP info returned
|
MarginApi.APIlistCrossMarginAccountBookRequest |
from(Long from)
Set from
|
MarginApi.APIlistCrossMarginAccountBookRequest |
limit(Integer limit)
Set limit
|
MarginApi.APIlistCrossMarginAccountBookRequest |
page(Integer page)
Set page
|
MarginApi.APIlistCrossMarginAccountBookRequest |
to(Long to)
Set to
|
MarginApi.APIlistCrossMarginAccountBookRequest |
type(String type)
Set type
|
public MarginApi.APIlistCrossMarginAccountBookRequest currency(String currency)
currency - Filter by currency (optional)public MarginApi.APIlistCrossMarginAccountBookRequest from(Long from)
from - Start timestamp of the query (optional)public MarginApi.APIlistCrossMarginAccountBookRequest to(Long to)
to - Time range ending, default to current time (optional)public MarginApi.APIlistCrossMarginAccountBookRequest page(Integer page)
page - Page number (optional, default to 1)public MarginApi.APIlistCrossMarginAccountBookRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public MarginApi.APIlistCrossMarginAccountBookRequest type(String type)
type - Only retrieve changes of the specified type. All types will be returned if not specified. (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<CrossMarginAccountBook> 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<CrossMarginAccountBook>> 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<CrossMarginAccountBook>> _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.