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