@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-08-14T13:43:37.324Z[UTC]")
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 address)
Get mosaic address restrictions for a given mosaic and account address.
|
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 address)
Get mosaic address restrictions for a given mosaic and account address.
|
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 RestrictionMosaicRoutesApi()
public RestrictionMosaicRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public MosaicAddressRestrictionDTO getMosaicAddressRestriction(java.lang.String mosaicId, java.lang.String address) throws ApiException
mosaicId - Mosaic identifier. (required)address - Account 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 address) throws ApiException
mosaicId - Mosaic identifier. (required)address - Account 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 | - |