public class CollateralLoanApi.APIlistCollateralRecordsRequest extends Object
public CollateralLoanApi.APIlistCollateralRecordsRequest page(Integer page)
page - Page number (optional, default to 1)public CollateralLoanApi.APIlistCollateralRecordsRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public CollateralLoanApi.APIlistCollateralRecordsRequest from(Long from)
from - Start timestamp of the query (optional)public CollateralLoanApi.APIlistCollateralRecordsRequest to(Long to)
to - Time range ending, default to current time (optional)public CollateralLoanApi.APIlistCollateralRecordsRequest borrowCurrency(String borrowCurrency)
borrowCurrency - Borrowed currency (optional)public CollateralLoanApi.APIlistCollateralRecordsRequest collateralCurrency(String collateralCurrency)
collateralCurrency - Collateral (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<CollateralRecord> 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<CollateralRecord>> 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<CollateralRecord>> _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.