public class OptionsApi.APIlistOptionsOrdersRequest extends Object
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
buildCall(ApiCallback _callback)
Build call for listOptionsOrders
|
OptionsApi.APIlistOptionsOrdersRequest |
contract(String contract)
Set contract
|
List<OptionsOrder> |
execute()
Execute listOptionsOrders request
|
okhttp3.Call |
executeAsync(ApiCallback<List<OptionsOrder>> _callback)
Execute listOptionsOrders request (asynchronously)
|
ApiResponse<List<OptionsOrder>> |
executeWithHttpInfo()
Execute listOptionsOrders request with HTTP info returned
|
OptionsApi.APIlistOptionsOrdersRequest |
from(Long from)
Set from
|
OptionsApi.APIlistOptionsOrdersRequest |
limit(Integer limit)
Set limit
|
OptionsApi.APIlistOptionsOrdersRequest |
offset(Integer offset)
Set offset
|
OptionsApi.APIlistOptionsOrdersRequest |
to(Long to)
Set to
|
OptionsApi.APIlistOptionsOrdersRequest |
underlying(String underlying)
Set underlying
|
public OptionsApi.APIlistOptionsOrdersRequest contract(String contract)
contract - Options contract name (optional)public OptionsApi.APIlistOptionsOrdersRequest underlying(String underlying)
underlying - Underlying (optional)public OptionsApi.APIlistOptionsOrdersRequest limit(Integer limit)
limit - Maximum number of records to be returned in a single list (optional, default to 100)public OptionsApi.APIlistOptionsOrdersRequest offset(Integer offset)
offset - List offset, starting from 0 (optional, default to 0)public OptionsApi.APIlistOptionsOrdersRequest from(Long from)
from - Start timestamp (optional)public OptionsApi.APIlistOptionsOrdersRequest to(Long to)
to - End timestamp (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<OptionsOrder> 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<OptionsOrder>> 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<OptionsOrder>> _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.