| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listCrossMarginLoans
|
MarginApi.APIlistCrossMarginLoansRequest |
currency(String currency)
Set currency
|
List<CrossMarginLoan> |
execute()
Execute listCrossMarginLoans request
|
okhttp3.Call |
executeAsync(ApiCallback<List<CrossMarginLoan>> _callback)
Execute listCrossMarginLoans request (asynchronously)
|
ApiResponse<List<CrossMarginLoan>> |
executeWithHttpInfo()
Execute listCrossMarginLoans request with HTTP info returned
|
MarginApi.APIlistCrossMarginLoansRequest |
limit(Integer limit)
Set limit
|
MarginApi.APIlistCrossMarginLoansRequest |
offset(Integer offset)
Set offset
|
MarginApi.APIlistCrossMarginLoansRequest |
reverse(Boolean reverse)
Set reverse
|
public MarginApi.APIlistCrossMarginLoansRequest currency(String currency)
currency - Filter by currency (optional)public MarginApi.APIlistCrossMarginLoansRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public MarginApi.APIlistCrossMarginLoansRequest offset(Integer offset)
offset - List offset, starting from 0 (optional, default to 0)public MarginApi.APIlistCrossMarginLoansRequest reverse(Boolean reverse)
reverse - Whether to sort in descending order, which is the default. Set `reverse=false` to return ascending results (optional, default to true)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 | Successfully retrieved | - |
public List<CrossMarginLoan> 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 | Successfully retrieved | - |
public ApiResponse<List<CrossMarginLoan>> 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 | Successfully retrieved | - |
public okhttp3.Call executeAsync(ApiCallback<List<CrossMarginLoan>> _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 | Successfully retrieved | - |
Copyright © 2023. All rights reserved.