@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2020-08-14T13:43:37.324Z[UTC]")
public class MosaicRoutesApi
extends java.lang.Object
| Constructor and Description |
|---|
MosaicRoutesApi() |
MosaicRoutesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
MosaicInfoDTO |
getMosaic(java.lang.String mosaicId)
Get mosaic information
Gets the mosaic definition for a given mosaic identifier.
|
java.util.List<MosaicInfoDTO> |
getMosaics(MosaicIds mosaicIds)
Get mosaics information for an array of mosaics
Gets an array of mosaic definition.
|
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.
|
MosaicPage |
searchMosaics(java.lang.String ownerAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order)
Search mosaics
Gets an array of mosaics.
|
ApiResponse<MosaicPage> |
searchMosaicsWithHttpInfo(java.lang.String ownerAddress,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.lang.String offset,
Order order)
Search mosaics
Gets an array of mosaics.
|
void |
setApiClient(ApiClient apiClient) |
public MosaicRoutesApi()
public MosaicRoutesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public MosaicInfoDTO getMosaic(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<MosaicInfoDTO> getMosaicWithHttpInfo(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<MosaicInfoDTO> getMosaics(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<MosaicInfoDTO>> getMosaicsWithHttpInfo(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 MosaicPage searchMosaics(java.lang.String ownerAddress, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order) throws ApiException
ownerAddress - Filter by owner address. (optional)pageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |
public ApiResponse<MosaicPage> searchMosaicsWithHttpInfo(java.lang.String ownerAddress, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.lang.String offset, Order order) throws ApiException
ownerAddress - Filter by owner address. (optional)pageSize - Select the number of entries to return. (optional, default to 10)pageNumber - Filter by page number. (optional, default to 1)offset - Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. (optional)order - Sort responses in ascending or descending order based on the collection property set on the param ``orderBy``. If the request does not specify ``orderBy``, REST returns the collection ordered by id. (optional, default to desc)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | success | - |
| 409 | InvalidArgument | - |