public class RestrictionMosaicRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
RestrictionMosaicRoutesApi() |
RestrictionMosaicRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
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 RestrictionMosaicRoutesApi()
public RestrictionMosaicRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
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 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 MosaicAddressRestrictionDTO getMosaicAddressRestriction(java.lang.String mosaicId, java.lang.String accountId) throws ApiException
mosaicId - Mosaic identifier. (required)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<MosaicAddressRestrictionDTO> getMosaicAddressRestrictionWithHttpInfo(java.lang.String mosaicId, java.lang.String accountId) throws ApiException
mosaicId - Mosaic identifier. (required)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 getMosaicAddressRestrictionAsync(java.lang.String mosaicId,
java.lang.String accountId,
ApiCallback<MosaicAddressRestrictionDTO> _callback)
throws ApiException
mosaicId - Mosaic identifier. (required)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 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 | - |