@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2019-11-02T09:22:19.033Z[UTC]")
public class RestrictionRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
RestrictionRoutesApi() |
RestrictionRoutesApi(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() |
MosaicAddressRestrictionDTO |
getMosaicAddressRestriction(java.lang.String mosaicId,
java.lang.String accountId)
Get mosaic address restrictions for a given mosaic and account identifier.
|
java.util.List<MosaicAddressRestrictionDTO> |
getMosaicAddressRestrictions(java.lang.String mosaicId,
AccountIds accountIds)
Get mosaic address restrictions for a given mosaic and account identifiers array.
|
ApiResponse<java.util.List<MosaicAddressRestrictionDTO>> |
getMosaicAddressRestrictionsWithHttpInfo(java.lang.String mosaicId,
AccountIds accountIds)
Get mosaic address restrictions for a given mosaic and account identifiers array.
|
ApiResponse<MosaicAddressRestrictionDTO> |
getMosaicAddressRestrictionWithHttpInfo(java.lang.String mosaicId,
java.lang.String accountId)
Get mosaic address restrictions for a given mosaic and account identifier.
|
MosaicGlobalRestrictionDTO |
getMosaicGlobalRestriction(java.lang.String mosaicId)
Get mosaic global restriction for a given mosaic identifier.
|
java.util.List<MosaicGlobalRestrictionDTO> |
getMosaicGlobalRestrictions(MosaicIds mosaicIds)
Get mosaic global restrictions for an array of mosaics.
|
ApiResponse<java.util.List<MosaicGlobalRestrictionDTO>> |
getMosaicGlobalRestrictionsWithHttpInfo(MosaicIds mosaicIds)
Get mosaic global restrictions for an array of mosaics.
|
ApiResponse<MosaicGlobalRestrictionDTO> |
getMosaicGlobalRestrictionWithHttpInfo(java.lang.String mosaicId)
Get mosaic global restriction for a given mosaic identifier.
|
void |
setApiClient(ApiClient apiClient) |
public RestrictionRoutesApi()
public RestrictionRoutesApi(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. (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. (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 | - |
public MosaicAddressRestrictionDTO getMosaicAddressRestriction(java.lang.String mosaicId, java.lang.String accountId) throws ApiException
mosaicId - Mosaic identifier. (required)accountId - Account public key or address. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MosaicAddressRestrictionDTO> getMosaicAddressRestrictionWithHttpInfo(java.lang.String mosaicId, java.lang.String accountId) throws ApiException
mosaicId - Mosaic identifier. (required)accountId - Account public key or address. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public java.util.List<MosaicAddressRestrictionDTO> getMosaicAddressRestrictions(java.lang.String mosaicId, AccountIds accountIds) throws ApiException
mosaicId - Mosaic identifier. (required)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<MosaicAddressRestrictionDTO>> getMosaicAddressRestrictionsWithHttpInfo(java.lang.String mosaicId, AccountIds accountIds) throws ApiException
mosaicId - Mosaic identifier. (required)accountIds - (optional)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public MosaicGlobalRestrictionDTO getMosaicGlobalRestriction(java.lang.String mosaicId) throws ApiException
mosaicId - Mosaic identifier. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public ApiResponse<MosaicGlobalRestrictionDTO> getMosaicGlobalRestrictionWithHttpInfo(java.lang.String mosaicId) throws ApiException
mosaicId - Mosaic identifier. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 404 | ResourceNotFound | - |
| 409 | InvalidArgument | - |
public java.util.List<MosaicGlobalRestrictionDTO> getMosaicGlobalRestrictions(MosaicIds mosaicIds) throws ApiException
mosaicIds - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<java.util.List<MosaicGlobalRestrictionDTO>> getMosaicGlobalRestrictionsWithHttpInfo(MosaicIds mosaicIds) throws ApiException
mosaicIds - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |