@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-08-14T13:43:37.324Z[UTC]")
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.
|
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.
|
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 AccountRestrictionsInfoDTO getAccountRestrictions(java.lang.String accountId) throws ApiException
accountId - Account public key or address enconded using a 32-character set. (required)ApiException - if fails to make API call| 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 fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public java.util.List<AccountRestrictionsInfoDTO> getAccountRestrictionsFromAccounts(AccountIds accountIds) throws ApiException
accountIds - (optional)ApiException - if fails to make API call| 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 fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |