Class RestrictionMosaicRoutesApi


  • public class RestrictionMosaicRoutesApi
    extends java.lang.Object
    • 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 ApiException
        Build 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 ApiException
        Get 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 ApiException
        Build 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 ApiException
        Get 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 ApiException
        Build 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 ApiException
        Get 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 -