public class MarginUniApi.APIlistUniLoansRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listUniLoans
|
MarginUniApi.APIlistUniLoansRequest |
currency(String currency)
Set currency
|
MarginUniApi.APIlistUniLoansRequest |
currencyPair(String currencyPair)
Set currencyPair
|
List<UniLoan> |
execute()
Execute listUniLoans request
|
okhttp3.Call |
executeAsync(ApiCallback<List<UniLoan>> _callback)
Execute listUniLoans request (asynchronously)
|
ApiResponse<List<UniLoan>> |
executeWithHttpInfo()
Execute listUniLoans request with HTTP info returned
|
MarginUniApi.APIlistUniLoansRequest |
limit(Integer limit)
Set limit
|
MarginUniApi.APIlistUniLoansRequest |
page(Integer page)
Set page
|
public MarginUniApi.APIlistUniLoansRequest currencyPair(String currencyPair)
currencyPair - Currency pair (optional)public MarginUniApi.APIlistUniLoansRequest currency(String currency)
currency - Retrieve data of the specified currency (optional)public MarginUniApi.APIlistUniLoansRequest page(Integer page)
page - Page number (optional, default to 1)public MarginUniApi.APIlistUniLoansRequest limit(Integer limit)
limit - Maximum response items. Default: 100, minimum: 1, Maximum: 100 (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 | Successfully retrieved | - |
public List<UniLoan> 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<UniLoan>> 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<UniLoan>> _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.