| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listMarginAccounts
|
MarginApi.APIlistMarginAccountsRequest |
currencyPair(String currencyPair)
Set currencyPair
|
List<MarginAccount> |
execute()
Execute listMarginAccounts request
|
okhttp3.Call |
executeAsync(ApiCallback<List<MarginAccount>> _callback)
Execute listMarginAccounts request (asynchronously)
|
ApiResponse<List<MarginAccount>> |
executeWithHttpInfo()
Execute listMarginAccounts request with HTTP info returned
|
public MarginApi.APIlistMarginAccountsRequest currencyPair(String currencyPair)
currencyPair - Currency pair (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<MarginAccount> 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<MarginAccount>> 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<MarginAccount>> _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.