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.
|
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() |
MosaicAddressRestrictionDTO |
getMosaicAddressRestriction(java.lang.String mosaicId,
java.lang.String accountId)
Get mosaic address restrictions for a given mosaic and account identifier.
|
okhttp3.Call |
getMosaicAddressRestrictionAsync(java.lang.String mosaicId,
java.lang.String accountId,
ApiCallback<MosaicAddressRestrictionDTO> _callback)
Get mosaic address restrictions for a given mosaic and account identifier.
|
okhttp3.Call |
getMosaicAddressRestrictionCall(java.lang.String mosaicId,
java.lang.String accountId,
ApiCallback _callback)
Build call for getMosaicAddressRestriction
|
java.util.List<MosaicAddressRestrictionDTO> |
getMosaicAddressRestrictions(java.lang.String mosaicId,
AccountIds accountIds)
Get mosaic address restrictions for a given mosaic and account identifiers array.
|
okhttp3.Call |
getMosaicAddressRestrictionsAsync(java.lang.String mosaicId,
AccountIds accountIds,
ApiCallback<java.util.List<MosaicAddressRestrictionDTO>> _callback)
Get mosaic address restrictions for a given mosaic and account identifiers array.
|
okhttp3.Call |
getMosaicAddressRestrictionsCall(java.lang.String mosaicId,
AccountIds accountIds,
ApiCallback _callback)
Build call for getMosaicAddressRestrictions
|
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.
|
okhttp3.Call |
getMosaicGlobalRestrictionAsync(java.lang.String mosaicId,
ApiCallback<MosaicGlobalRestrictionDTO> _callback)
Get mosaic global restriction for a given mosaic identifier.
|
okhttp3.Call |
getMosaicGlobalRestrictionCall(java.lang.String mosaicId,
ApiCallback _callback)
Build call for getMosaicGlobalRestriction
|
java.util.List<MosaicGlobalRestrictionDTO> |
getMosaicGlobalRestrictions(MosaicIds mosaicIds)
Get mosaic global restrictions for an array of mosaics.
|
okhttp3.Call |
getMosaicGlobalRestrictionsAsync(MosaicIds mosaicIds,
ApiCallback<java.util.List<MosaicGlobalRestrictionDTO>> _callback)
Get mosaic global restrictions for an array of mosaics.
|
okhttp3.Call |
getMosaicGlobalRestrictionsCall(MosaicIds mosaicIds,
ApiCallback _callback)
Build call for getMosaicGlobalRestrictions
|
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 okhttp3.Call getAccountRestrictionsCall(java.lang.String accountId,
ApiCallback _callback)
throws ApiException
accountId - Account public key or address. (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. (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. (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. (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 | - |
public okhttp3.Call getMosaicAddressRestrictionCall(java.lang.String mosaicId,
java.lang.String accountId,
ApiCallback _callback)
throws ApiException
mosaicId - Mosaic identifier. (required)accountId - Account public key or address. (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 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 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<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 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 getMosaicAddressRestrictionAsync(java.lang.String mosaicId,
java.lang.String accountId,
ApiCallback<MosaicAddressRestrictionDTO> _callback)
throws ApiException
mosaicId - Mosaic identifier. (required)accountId - Account public key or address. (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 getMosaicAddressRestrictionsCall(java.lang.String mosaicId,
AccountIds accountIds,
ApiCallback _callback)
throws ApiException
mosaicId - Mosaic identifier. (required)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<MosaicAddressRestrictionDTO> getMosaicAddressRestrictions(java.lang.String mosaicId, AccountIds accountIds) throws ApiException
mosaicId - Mosaic identifier. (required)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<MosaicAddressRestrictionDTO>> getMosaicAddressRestrictionsWithHttpInfo(java.lang.String mosaicId, AccountIds accountIds) throws ApiException
mosaicId - Mosaic identifier. (required)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 getMosaicAddressRestrictionsAsync(java.lang.String mosaicId,
AccountIds accountIds,
ApiCallback<java.util.List<MosaicAddressRestrictionDTO>> _callback)
throws ApiException
mosaicId - Mosaic identifier. (required)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 | - |
public okhttp3.Call getMosaicGlobalRestrictionCall(java.lang.String mosaicId,
ApiCallback _callback)
throws ApiException
mosaicId - Mosaic identifier. (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 MosaicGlobalRestrictionDTO getMosaicGlobalRestriction(java.lang.String mosaicId) throws ApiException
mosaicId - Mosaic identifier. (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<MosaicGlobalRestrictionDTO> getMosaicGlobalRestrictionWithHttpInfo(java.lang.String mosaicId) throws ApiException
mosaicId - Mosaic identifier. (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 getMosaicGlobalRestrictionAsync(java.lang.String mosaicId,
ApiCallback<MosaicGlobalRestrictionDTO> _callback)
throws ApiException
mosaicId - Mosaic identifier. (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 getMosaicGlobalRestrictionsCall(MosaicIds mosaicIds, ApiCallback _callback) throws ApiException
mosaicIds - (required)_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<MosaicGlobalRestrictionDTO> getMosaicGlobalRestrictions(MosaicIds mosaicIds) throws ApiException
mosaicIds - (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 | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public ApiResponse<java.util.List<MosaicGlobalRestrictionDTO>> getMosaicGlobalRestrictionsWithHttpInfo(MosaicIds mosaicIds) throws ApiException
mosaicIds - (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 | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |
public okhttp3.Call getMosaicGlobalRestrictionsAsync(MosaicIds mosaicIds, ApiCallback<java.util.List<MosaicGlobalRestrictionDTO>> _callback) throws ApiException
mosaicIds - (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 | - |
| 400 | InvalidContent | - |
| 409 | InvalidArgument | - |