public class RestrictionAccountRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
RestrictionAccountRoutesApi() |
RestrictionAccountRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AccountRestrictionsInfoDTO |
getAccountRestrictions(java.lang.String accountId)
Get the account restrictions
Returns the account restrictions for a given account.
|
okhttp3.Call |
getAccountRestrictionsAsync(java.lang.String accountId,
ApiCallback<AccountRestrictionsInfoDTO> _callback)
Get the account restrictions (asynchronously)
Returns the account restrictions for a given account.
|
okhttp3.Call |
getAccountRestrictionsCall(java.lang.String accountId,
ApiCallback _callback)
Build call for getAccountRestrictions
|
java.util.List<AccountRestrictionsInfoDTO> |
getAccountRestrictionsFromAccounts(AccountIds accountIds)
Get account restrictions for given array of addresses
Returns the account restrictions for a given array of addresses.
|
okhttp3.Call |
getAccountRestrictionsFromAccountsAsync(AccountIds accountIds,
ApiCallback<java.util.List<AccountRestrictionsInfoDTO>> _callback)
Get account restrictions for given array of addresses (asynchronously)
Returns the account restrictions for a given array of addresses.
|
okhttp3.Call |
getAccountRestrictionsFromAccountsCall(AccountIds accountIds,
ApiCallback _callback)
Build call for getAccountRestrictionsFromAccounts
|
ApiResponse<java.util.List<AccountRestrictionsInfoDTO>> |
getAccountRestrictionsFromAccountsWithHttpInfo(AccountIds accountIds)
Get account restrictions for given array of addresses
Returns the account restrictions for a given array of addresses.
|
ApiResponse<AccountRestrictionsInfoDTO> |
getAccountRestrictionsWithHttpInfo(java.lang.String accountId)
Get the account restrictions
Returns the account restrictions for a given account.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public RestrictionAccountRoutesApi()
public RestrictionAccountRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getAccountRestrictionsCall(java.lang.String accountId,
ApiCallback _callback)
throws ApiException
accountId - Account public key or address enconded using a 32-character set. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public AccountRestrictionsInfoDTO getAccountRestrictions(java.lang.String accountId) throws ApiException
accountId - Account public key or address enconded using a 32-character set. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<AccountRestrictionsInfoDTO> getAccountRestrictionsWithHttpInfo(java.lang.String accountId) throws ApiException
accountId - Account public key or address enconded using a 32-character set. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getAccountRestrictionsAsync(java.lang.String accountId,
ApiCallback<AccountRestrictionsInfoDTO> _callback)
throws ApiException
accountId - Account public key or address enconded using a 32-character set. (required)_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 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getAccountRestrictionsFromAccountsCall(AccountIds accountIds, ApiCallback _callback) throws ApiException
accountIds - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public java.util.List<AccountRestrictionsInfoDTO> getAccountRestrictionsFromAccounts(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<java.util.List<AccountRestrictionsInfoDTO>> getAccountRestrictionsFromAccountsWithHttpInfo(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getAccountRestrictionsFromAccountsAsync(AccountIds accountIds, ApiCallback<java.util.List<AccountRestrictionsInfoDTO>> _callback) throws ApiException
accountIds - (optional)_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 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |