Package io.nem.sdk.openapi.jersey2.api
Class RestrictionMosaicRoutesApi
- java.lang.Object
-
- io.nem.sdk.openapi.jersey2.api.RestrictionMosaicRoutesApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-02-02T21:53:44.206008392-03:00[America/Argentina/Buenos_Aires]") public class RestrictionMosaicRoutesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RestrictionMosaicRoutesApi()RestrictionMosaicRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()MosaicAddressRestrictionDTOgetMosaicAddressRestriction(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.MosaicGlobalRestrictionDTOgetMosaicGlobalRestriction(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.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
RestrictionMosaicRoutesApi
public RestrictionMosaicRoutesApi()
-
RestrictionMosaicRoutesApi
public RestrictionMosaicRoutesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getMosaicAddressRestriction
public MosaicAddressRestrictionDTO getMosaicAddressRestriction(java.lang.String mosaicId, java.lang.String accountId) throws ApiException
Get mosaic address restrictions for a given mosaic and account identifier. Get mosaic address restriction.- Parameters:
mosaicId- Mosaic identifier. (required)accountId- Account public key or address. (required)- Returns:
- MosaicAddressRestrictionDTO
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getMosaicAddressRestrictionWithHttpInfo
public ApiResponse<MosaicAddressRestrictionDTO> getMosaicAddressRestrictionWithHttpInfo(java.lang.String mosaicId, java.lang.String accountId) throws ApiException
Get mosaic address restrictions for a given mosaic and account identifier. Get mosaic address restriction.- Parameters:
mosaicId- Mosaic identifier. (required)accountId- Account public key or address. (required)- Returns:
- ApiResponse<MosaicAddressRestrictionDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getMosaicAddressRestrictions
public java.util.List<MosaicAddressRestrictionDTO> getMosaicAddressRestrictions(java.lang.String mosaicId, AccountIds accountIds) throws ApiException
Get mosaic address restrictions for a given mosaic and account identifiers array. Get mosaic address restrictions.- Parameters:
mosaicId- Mosaic identifier. (required)accountIds- (optional)- Returns:
- List<MosaicAddressRestrictionDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
getMosaicAddressRestrictionsWithHttpInfo
public ApiResponse<java.util.List<MosaicAddressRestrictionDTO>> getMosaicAddressRestrictionsWithHttpInfo(java.lang.String mosaicId, AccountIds accountIds) throws ApiException
Get mosaic address restrictions for a given mosaic and account identifiers array. Get mosaic address restrictions.- Parameters:
mosaicId- Mosaic identifier. (required)accountIds- (optional)- Returns:
- ApiResponse<List<MosaicAddressRestrictionDTO>>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
getMosaicGlobalRestriction
public MosaicGlobalRestrictionDTO getMosaicGlobalRestriction(java.lang.String mosaicId) throws ApiException
Get mosaic global restriction for a given mosaic identifier. Get mosaic global restriction.- Parameters:
mosaicId- Mosaic identifier. (required)- Returns:
- MosaicGlobalRestrictionDTO
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getMosaicGlobalRestrictionWithHttpInfo
public ApiResponse<MosaicGlobalRestrictionDTO> getMosaicGlobalRestrictionWithHttpInfo(java.lang.String mosaicId) throws ApiException
Get mosaic global restriction for a given mosaic identifier. Get mosaic global restriction.- Parameters:
mosaicId- Mosaic identifier. (required)- Returns:
- ApiResponse<MosaicGlobalRestrictionDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getMosaicGlobalRestrictions
public java.util.List<MosaicGlobalRestrictionDTO> getMosaicGlobalRestrictions(MosaicIds mosaicIds) throws ApiException
Get mosaic global restrictions for an array of mosaics. Get mosaic global restrictions.- Parameters:
mosaicIds- (required)- Returns:
- List<MosaicGlobalRestrictionDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
getMosaicGlobalRestrictionsWithHttpInfo
public ApiResponse<java.util.List<MosaicGlobalRestrictionDTO>> getMosaicGlobalRestrictionsWithHttpInfo(MosaicIds mosaicIds) throws ApiException
Get mosaic global restrictions for an array of mosaics. Get mosaic global restrictions.- Parameters:
mosaicIds- (required)- Returns:
- ApiResponse<List<MosaicGlobalRestrictionDTO>>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
-