| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listMarginAccountBook
|
MarginApi.APIlistMarginAccountBookRequest |
currency(String currency)
Set currency
|
MarginApi.APIlistMarginAccountBookRequest |
currencyPair(String currencyPair)
Set currencyPair
|
List<MarginAccountBook> |
execute()
Execute listMarginAccountBook request
|
okhttp3.Call |
executeAsync(ApiCallback<List<MarginAccountBook>> _callback)
Execute listMarginAccountBook request (asynchronously)
|
ApiResponse<List<MarginAccountBook>> |
executeWithHttpInfo()
Execute listMarginAccountBook request with HTTP info returned
|
MarginApi.APIlistMarginAccountBookRequest |
from(Long from)
Set from
|
MarginApi.APIlistMarginAccountBookRequest |
limit(Integer limit)
Set limit
|
MarginApi.APIlistMarginAccountBookRequest |
page(Integer page)
Set page
|
MarginApi.APIlistMarginAccountBookRequest |
to(Long to)
Set to
|
public MarginApi.APIlistMarginAccountBookRequest currency(String currency)
currency - List records related to specified currency only. If specified, `currency_pair` is also required. (optional)public MarginApi.APIlistMarginAccountBookRequest currencyPair(String currencyPair)
currencyPair - List records related to specified currency pair. Used in combination with `currency`. Ignored if `currency` is not provided (optional)public MarginApi.APIlistMarginAccountBookRequest from(Long from)
from - Time range beginning, default to 7 days before current time (optional)public MarginApi.APIlistMarginAccountBookRequest to(Long to)
to - Time range ending, default to current time (optional)public MarginApi.APIlistMarginAccountBookRequest page(Integer page)
page - Page number (optional, default to 1)public MarginApi.APIlistMarginAccountBookRequest limit(Integer limit)
limit - Maximum number of records returned in one list (optional, default to 100)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<MarginAccountBook> 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<MarginAccountBook>> 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<MarginAccountBook>> _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.