Class MosaicRoutesApi
- java.lang.Object
-
- io.nem.sdk.openapi.okhttp_gson.api.MosaicRoutesApi
-
public class MosaicRoutesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MosaicRoutesApi()MosaicRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()MosaicInfoDTOgetMosaic(java.lang.String mosaicId)Get mosaic information Gets the mosaic definition for a given mosaic identifier.okhttp3.CallgetMosaicAsync(java.lang.String mosaicId, ApiCallback<MosaicInfoDTO> _callback)Get mosaic information (asynchronously) Gets the mosaic definition for a given mosaic identifier.okhttp3.CallgetMosaicCall(java.lang.String mosaicId, ApiCallback _callback)Build call for getMosaicjava.util.List<MosaicInfoDTO>getMosaics(MosaicIds mosaicIds)Get mosaics information for an array of mosaics Gets an array of mosaic definition.okhttp3.CallgetMosaicsAsync(MosaicIds mosaicIds, ApiCallback<java.util.List<MosaicInfoDTO>> _callback)Get mosaics information for an array of mosaics (asynchronously) Gets an array of mosaic definition.okhttp3.CallgetMosaicsCall(MosaicIds mosaicIds, ApiCallback _callback)Build call for getMosaicsMosaicsInfoDTOgetMosaicsFromAccount(java.lang.String accountId)Get mosaics created by an account Gets an array of mosaics created for a given account address.okhttp3.CallgetMosaicsFromAccountAsync(java.lang.String accountId, ApiCallback<MosaicsInfoDTO> _callback)Get mosaics created by an account (asynchronously) Gets an array of mosaics created for a given account address.okhttp3.CallgetMosaicsFromAccountCall(java.lang.String accountId, ApiCallback _callback)Build call for getMosaicsFromAccountMosaicsInfoDTOgetMosaicsFromAccounts(AccountIds accountIds)Get mosaics created for given array of addresses Gets mosaics created for a given array of addresses.okhttp3.CallgetMosaicsFromAccountsAsync(AccountIds accountIds, ApiCallback<MosaicsInfoDTO> _callback)Get mosaics created for given array of addresses (asynchronously) Gets mosaics created for a given array of addresses.okhttp3.CallgetMosaicsFromAccountsCall(AccountIds accountIds, ApiCallback _callback)Build call for getMosaicsFromAccountsApiResponse<MosaicsInfoDTO>getMosaicsFromAccountsWithHttpInfo(AccountIds accountIds)Get mosaics created for given array of addresses Gets mosaics created for a given array of addresses.ApiResponse<MosaicsInfoDTO>getMosaicsFromAccountWithHttpInfo(java.lang.String accountId)Get mosaics created by an account Gets an array of mosaics created for a given account address.ApiResponse<java.util.List<MosaicInfoDTO>>getMosaicsWithHttpInfo(MosaicIds mosaicIds)Get mosaics information for an array of mosaics Gets an array of mosaic definition.ApiResponse<MosaicInfoDTO>getMosaicWithHttpInfo(java.lang.String mosaicId)Get mosaic information Gets the mosaic definition for a given mosaic identifier.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
MosaicRoutesApi
public MosaicRoutesApi()
-
MosaicRoutesApi
public MosaicRoutesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getMosaicCall
public okhttp3.Call getMosaicCall(java.lang.String mosaicId, ApiCallback _callback) throws ApiExceptionBuild call for getMosaic- 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 -
-
getMosaic
public MosaicInfoDTO getMosaic(java.lang.String mosaicId) throws ApiException
Get mosaic information Gets the mosaic definition for a given mosaic identifier.- Parameters:
mosaicId- Mosaic identifier. (required)- Returns:
- MosaicInfoDTO
- 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 -
-
getMosaicWithHttpInfo
public ApiResponse<MosaicInfoDTO> getMosaicWithHttpInfo(java.lang.String mosaicId) throws ApiException
Get mosaic information Gets the mosaic definition for a given mosaic identifier.- Parameters:
mosaicId- Mosaic identifier. (required)- Returns:
- ApiResponse<MosaicInfoDTO>
- 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 -
-
getMosaicAsync
public okhttp3.Call getMosaicAsync(java.lang.String mosaicId, ApiCallback<MosaicInfoDTO> _callback) throws ApiExceptionGet mosaic information (asynchronously) Gets the mosaic definition for a given mosaic identifier.- 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 -
-
getMosaicsCall
public okhttp3.Call getMosaicsCall(MosaicIds mosaicIds, ApiCallback _callback) throws ApiException
Build call for getMosaics- 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 -
-
getMosaics
public java.util.List<MosaicInfoDTO> getMosaics(MosaicIds mosaicIds) throws ApiException
Get mosaics information for an array of mosaics Gets an array of mosaic definition.- Parameters:
mosaicIds- (required)- Returns:
- List<MosaicInfoDTO>
- 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 -
-
getMosaicsWithHttpInfo
public ApiResponse<java.util.List<MosaicInfoDTO>> getMosaicsWithHttpInfo(MosaicIds mosaicIds) throws ApiException
Get mosaics information for an array of mosaics Gets an array of mosaic definition.- Parameters:
mosaicIds- (required)- Returns:
- ApiResponse<List<MosaicInfoDTO>>
- 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 -
-
getMosaicsAsync
public okhttp3.Call getMosaicsAsync(MosaicIds mosaicIds, ApiCallback<java.util.List<MosaicInfoDTO>> _callback) throws ApiException
Get mosaics information for an array of mosaics (asynchronously) Gets an array of mosaic definition.- 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 -
-
getMosaicsFromAccountCall
public okhttp3.Call getMosaicsFromAccountCall(java.lang.String accountId, ApiCallback _callback) throws ApiExceptionBuild call for getMosaicsFromAccount- Parameters:
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 -
-
getMosaicsFromAccount
public MosaicsInfoDTO getMosaicsFromAccount(java.lang.String accountId) throws ApiException
Get mosaics created by an account Gets an array of mosaics created for a given account address.- Parameters:
accountId- Account public key or address. (required)- Returns:
- MosaicsInfoDTO
- 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 -
-
getMosaicsFromAccountWithHttpInfo
public ApiResponse<MosaicsInfoDTO> getMosaicsFromAccountWithHttpInfo(java.lang.String accountId) throws ApiException
Get mosaics created by an account Gets an array of mosaics created for a given account address.- Parameters:
accountId- Account public key or address. (required)- Returns:
- ApiResponse<MosaicsInfoDTO>
- 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 -
-
getMosaicsFromAccountAsync
public okhttp3.Call getMosaicsFromAccountAsync(java.lang.String accountId, ApiCallback<MosaicsInfoDTO> _callback) throws ApiExceptionGet mosaics created by an account (asynchronously) Gets an array of mosaics created for a given account address.- Parameters:
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 -
-
getMosaicsFromAccountsCall
public okhttp3.Call getMosaicsFromAccountsCall(AccountIds accountIds, ApiCallback _callback) throws ApiException
Build call for getMosaicsFromAccounts- Parameters:
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 -
-
getMosaicsFromAccounts
public MosaicsInfoDTO getMosaicsFromAccounts(AccountIds accountIds) throws ApiException
Get mosaics created for given array of addresses Gets mosaics created for a given array of addresses.- Parameters:
accountIds- (optional)- Returns:
- MosaicsInfoDTO
- 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 -
-
getMosaicsFromAccountsWithHttpInfo
public ApiResponse<MosaicsInfoDTO> getMosaicsFromAccountsWithHttpInfo(AccountIds accountIds) throws ApiException
Get mosaics created for given array of addresses Gets mosaics created for a given array of addresses.- Parameters:
accountIds- (optional)- Returns:
- ApiResponse<MosaicsInfoDTO>
- 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 -
-
getMosaicsFromAccountsAsync
public okhttp3.Call getMosaicsFromAccountsAsync(AccountIds accountIds, ApiCallback<MosaicsInfoDTO> _callback) throws ApiException
Get mosaics created for given array of addresses (asynchronously) Gets mosaics created for a given array of addresses.- Parameters:
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 -
-
-