Class RestrictionMosaicRoutesApi
- java.lang.Object
-
- io.nem.sdk.openapi.okhttp_gson.api.RestrictionMosaicRoutesApi
-
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.okhttp3.CallgetMosaicAddressRestrictionAsync(java.lang.String mosaicId, java.lang.String accountId, ApiCallback<MosaicAddressRestrictionDTO> _callback)Get mosaic address restrictions for a given mosaic and account identifier.okhttp3.CallgetMosaicAddressRestrictionCall(java.lang.String mosaicId, java.lang.String accountId, ApiCallback _callback)Build call for getMosaicAddressRestrictionjava.util.List<MosaicAddressRestrictionDTO>getMosaicAddressRestrictions(java.lang.String mosaicId, AccountIds accountIds)Get mosaic address restrictions for a given mosaic and account identifiers array.okhttp3.CallgetMosaicAddressRestrictionsAsync(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.CallgetMosaicAddressRestrictionsCall(java.lang.String mosaicId, AccountIds accountIds, ApiCallback _callback)Build call for getMosaicAddressRestrictionsApiResponse<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.okhttp3.CallgetMosaicGlobalRestrictionAsync(java.lang.String mosaicId, ApiCallback<MosaicGlobalRestrictionDTO> _callback)Get mosaic global restriction for a given mosaic identifier.okhttp3.CallgetMosaicGlobalRestrictionCall(java.lang.String mosaicId, ApiCallback _callback)Build call for getMosaicGlobalRestrictionjava.util.List<MosaicGlobalRestrictionDTO>getMosaicGlobalRestrictions(MosaicIds mosaicIds)Get mosaic global restrictions for an array of mosaics.okhttp3.CallgetMosaicGlobalRestrictionsAsync(MosaicIds mosaicIds, ApiCallback<java.util.List<MosaicGlobalRestrictionDTO>> _callback)Get mosaic global restrictions for an array of mosaics.okhttp3.CallgetMosaicGlobalRestrictionsCall(MosaicIds mosaicIds, ApiCallback _callback)Build call for getMosaicGlobalRestrictionsApiResponse<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)
-
getMosaicAddressRestrictionCall
public okhttp3.Call getMosaicAddressRestrictionCall(java.lang.String mosaicId, java.lang.String accountId, ApiCallback _callback) throws ApiExceptionBuild call for getMosaicAddressRestriction- Parameters:
mosaicId- Mosaic identifier. (required)accountId- Account public key or address. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
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 fail to call the API, e.g. server error or cannot deserialize the response body- 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 fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getMosaicAddressRestrictionAsync
public okhttp3.Call getMosaicAddressRestrictionAsync(java.lang.String mosaicId, java.lang.String accountId, ApiCallback<MosaicAddressRestrictionDTO> _callback) throws ApiExceptionGet mosaic address restrictions for a given mosaic and account identifier. (asynchronously) Get mosaic address restriction.- Parameters:
mosaicId- Mosaic identifier. (required)accountId- Account public key or address. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getMosaicAddressRestrictionsCall
public okhttp3.Call getMosaicAddressRestrictionsCall(java.lang.String mosaicId, AccountIds accountIds, ApiCallback _callback) throws ApiExceptionBuild call for getMosaicAddressRestrictions- Parameters:
mosaicId- Mosaic identifier. (required)accountIds- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 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 fail to call the API, e.g. server error or cannot deserialize the response body- 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 fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
getMosaicAddressRestrictionsAsync
public okhttp3.Call getMosaicAddressRestrictionsAsync(java.lang.String mosaicId, AccountIds accountIds, ApiCallback<java.util.List<MosaicAddressRestrictionDTO>> _callback) throws ApiExceptionGet mosaic address restrictions for a given mosaic and account identifiers array. (asynchronously) Get mosaic address restrictions.- Parameters:
mosaicId- Mosaic identifier. (required)accountIds- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
getMosaicGlobalRestrictionCall
public okhttp3.Call getMosaicGlobalRestrictionCall(java.lang.String mosaicId, ApiCallback _callback) throws ApiExceptionBuild call for getMosaicGlobalRestriction- Parameters:
mosaicId- Mosaic identifier. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 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 fail to call the API, e.g. server error or cannot deserialize the response body- 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 fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getMosaicGlobalRestrictionAsync
public okhttp3.Call getMosaicGlobalRestrictionAsync(java.lang.String mosaicId, ApiCallback<MosaicGlobalRestrictionDTO> _callback) throws ApiExceptionGet mosaic global restriction for a given mosaic identifier. (asynchronously) Get mosaic global restriction.- Parameters:
mosaicId- Mosaic identifier. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 409 InvalidArgument -
-
getMosaicGlobalRestrictionsCall
public okhttp3.Call getMosaicGlobalRestrictionsCall(MosaicIds mosaicIds, ApiCallback _callback) throws ApiException
Build call for getMosaicGlobalRestrictions- Parameters:
mosaicIds- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 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 fail to call the API, e.g. server error or cannot deserialize the response body- 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 fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
getMosaicGlobalRestrictionsAsync
public okhttp3.Call getMosaicGlobalRestrictionsAsync(MosaicIds mosaicIds, ApiCallback<java.util.List<MosaicGlobalRestrictionDTO>> _callback) throws ApiException
Get mosaic global restrictions for an array of mosaics. (asynchronously) Get mosaic global restrictions.- Parameters:
mosaicIds- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
-