Class NamespaceRoutesApi
- java.lang.Object
-
- io.nem.sdk.openapi.okhttp_gson.api.NamespaceRoutesApi
-
public class NamespaceRoutesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NamespaceRoutesApi()NamespaceRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountsNamesDTOgetAccountsNames(AccountIds accountIds)Get readable names for a set of accountIds Returns friendly names for accounts.okhttp3.CallgetAccountsNamesAsync(AccountIds accountIds, ApiCallback<AccountsNamesDTO> _callback)Get readable names for a set of accountIds (asynchronously) Returns friendly names for accounts.okhttp3.CallgetAccountsNamesCall(AccountIds accountIds, ApiCallback _callback)Build call for getAccountsNamesApiResponse<AccountsNamesDTO>getAccountsNamesWithHttpInfo(AccountIds accountIds)Get readable names for a set of accountIds Returns friendly names for accounts.ApiClientgetApiClient()MosaicsNamesDTOgetMosaicsNames(MosaicIds mosaicIds)Get readable names for a set of mosaics Returns friendly names for mosaics.okhttp3.CallgetMosaicsNamesAsync(MosaicIds mosaicIds, ApiCallback<MosaicsNamesDTO> _callback)Get readable names for a set of mosaics (asynchronously) Returns friendly names for mosaics.okhttp3.CallgetMosaicsNamesCall(MosaicIds mosaicIds, ApiCallback _callback)Build call for getMosaicsNamesApiResponse<MosaicsNamesDTO>getMosaicsNamesWithHttpInfo(MosaicIds mosaicIds)Get readable names for a set of mosaics Returns friendly names for mosaics.NamespaceInfoDTOgetNamespace(java.lang.String namespaceId)Get namespace information Gets the namespace for a given namespace identifier.okhttp3.CallgetNamespaceAsync(java.lang.String namespaceId, ApiCallback<NamespaceInfoDTO> _callback)Get namespace information (asynchronously) Gets the namespace for a given namespace identifier.okhttp3.CallgetNamespaceCall(java.lang.String namespaceId, ApiCallback _callback)Build call for getNamespaceNamespacesInfoDTOgetNamespacesFromAccount(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id)Get namespaces created by an account Gets an array of namespaces for a given account address.okhttp3.CallgetNamespacesFromAccountAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, ApiCallback<NamespacesInfoDTO> _callback)Get namespaces created by an account (asynchronously) Gets an array of namespaces for a given account address.okhttp3.CallgetNamespacesFromAccountCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, ApiCallback _callback)Build call for getNamespacesFromAccountNamespacesInfoDTOgetNamespacesFromAccounts(AccountIds accountIds)Get namespaces for given array of addresses Gets namespaces for a given array of addresses.okhttp3.CallgetNamespacesFromAccountsAsync(AccountIds accountIds, ApiCallback<NamespacesInfoDTO> _callback)Get namespaces for given array of addresses (asynchronously) Gets namespaces for a given array of addresses.okhttp3.CallgetNamespacesFromAccountsCall(AccountIds accountIds, ApiCallback _callback)Build call for getNamespacesFromAccountsApiResponse<NamespacesInfoDTO>getNamespacesFromAccountsWithHttpInfo(AccountIds accountIds)Get namespaces for given array of addresses Gets namespaces for a given array of addresses.ApiResponse<NamespacesInfoDTO>getNamespacesFromAccountWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id)Get namespaces created by an account Gets an array of namespaces for a given account address.java.util.List<NamespaceNameDTO>getNamespacesNames(NamespaceIds namespaceIds)Get readable names for a set of namespaces Returns friendly names for namespaces.okhttp3.CallgetNamespacesNamesAsync(NamespaceIds namespaceIds, ApiCallback<java.util.List<NamespaceNameDTO>> _callback)Get readable names for a set of namespaces (asynchronously) Returns friendly names for namespaces.okhttp3.CallgetNamespacesNamesCall(NamespaceIds namespaceIds, ApiCallback _callback)Build call for getNamespacesNamesApiResponse<java.util.List<NamespaceNameDTO>>getNamespacesNamesWithHttpInfo(NamespaceIds namespaceIds)Get readable names for a set of namespaces Returns friendly names for namespaces.ApiResponse<NamespaceInfoDTO>getNamespaceWithHttpInfo(java.lang.String namespaceId)Get namespace information Gets the namespace for a given namespace identifier.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
NamespaceRoutesApi
public NamespaceRoutesApi()
-
NamespaceRoutesApi
public NamespaceRoutesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getAccountsNamesCall
public okhttp3.Call getAccountsNamesCall(AccountIds accountIds, ApiCallback _callback) throws ApiException
Build call for getAccountsNames- 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 -
-
getAccountsNames
public AccountsNamesDTO getAccountsNames(AccountIds accountIds) throws ApiException
Get readable names for a set of accountIds Returns friendly names for accounts.- Parameters:
accountIds- (optional)- Returns:
- AccountsNamesDTO
- 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 -
-
getAccountsNamesWithHttpInfo
public ApiResponse<AccountsNamesDTO> getAccountsNamesWithHttpInfo(AccountIds accountIds) throws ApiException
Get readable names for a set of accountIds Returns friendly names for accounts.- Parameters:
accountIds- (optional)- Returns:
- ApiResponse<AccountsNamesDTO>
- 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 -
-
getAccountsNamesAsync
public okhttp3.Call getAccountsNamesAsync(AccountIds accountIds, ApiCallback<AccountsNamesDTO> _callback) throws ApiException
Get readable names for a set of accountIds (asynchronously) Returns friendly names for accounts.- 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 -
-
getMosaicsNamesCall
public okhttp3.Call getMosaicsNamesCall(MosaicIds mosaicIds, ApiCallback _callback) throws ApiException
Build call for getMosaicsNames- 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 -
-
getMosaicsNames
public MosaicsNamesDTO getMosaicsNames(MosaicIds mosaicIds) throws ApiException
Get readable names for a set of mosaics Returns friendly names for mosaics.- Parameters:
mosaicIds- (required)- Returns:
- MosaicsNamesDTO
- 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 -
-
getMosaicsNamesWithHttpInfo
public ApiResponse<MosaicsNamesDTO> getMosaicsNamesWithHttpInfo(MosaicIds mosaicIds) throws ApiException
Get readable names for a set of mosaics Returns friendly names for mosaics.- Parameters:
mosaicIds- (required)- Returns:
- ApiResponse<MosaicsNamesDTO>
- 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 -
-
getMosaicsNamesAsync
public okhttp3.Call getMosaicsNamesAsync(MosaicIds mosaicIds, ApiCallback<MosaicsNamesDTO> _callback) throws ApiException
Get readable names for a set of mosaics (asynchronously) Returns friendly names for mosaics.- 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 -
-
getNamespaceCall
public okhttp3.Call getNamespaceCall(java.lang.String namespaceId, ApiCallback _callback) throws ApiExceptionBuild call for getNamespace- Parameters:
namespaceId- Namespace 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 -
-
getNamespace
public NamespaceInfoDTO getNamespace(java.lang.String namespaceId) throws ApiException
Get namespace information Gets the namespace for a given namespace identifier.- Parameters:
namespaceId- Namespace identifier. (required)- Returns:
- NamespaceInfoDTO
- 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 -
-
getNamespaceWithHttpInfo
public ApiResponse<NamespaceInfoDTO> getNamespaceWithHttpInfo(java.lang.String namespaceId) throws ApiException
Get namespace information Gets the namespace for a given namespace identifier.- Parameters:
namespaceId- Namespace identifier. (required)- Returns:
- ApiResponse<NamespaceInfoDTO>
- 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 -
-
getNamespaceAsync
public okhttp3.Call getNamespaceAsync(java.lang.String namespaceId, ApiCallback<NamespaceInfoDTO> _callback) throws ApiExceptionGet namespace information (asynchronously) Gets the namespace for a given namespace identifier.- Parameters:
namespaceId- Namespace 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 -
-
getNamespacesFromAccountCall
public okhttp3.Call getNamespacesFromAccountCall(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, ApiCallback _callback) throws ApiExceptionBuild call for getNamespacesFromAccount- Parameters:
accountId- Account public key or address. (required)pageSize- Number of transactions to return for each request. (optional, default to 10)id- Namespace identifier up to which transactions are returned. (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 - 404 ResourceNotFound - 409 InvalidArgument -
-
getNamespacesFromAccount
public NamespacesInfoDTO getNamespacesFromAccount(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id) throws ApiException
Get namespaces created by an account Gets an array of namespaces for a given account address.- Parameters:
accountId- Account public key or address. (required)pageSize- Number of transactions to return for each request. (optional, default to 10)id- Namespace identifier up to which transactions are returned. (optional)- Returns:
- NamespacesInfoDTO
- 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 -
-
getNamespacesFromAccountWithHttpInfo
public ApiResponse<NamespacesInfoDTO> getNamespacesFromAccountWithHttpInfo(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id) throws ApiException
Get namespaces created by an account Gets an array of namespaces for a given account address.- Parameters:
accountId- Account public key or address. (required)pageSize- Number of transactions to return for each request. (optional, default to 10)id- Namespace identifier up to which transactions are returned. (optional)- Returns:
- ApiResponse<NamespacesInfoDTO>
- 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 -
-
getNamespacesFromAccountAsync
public okhttp3.Call getNamespacesFromAccountAsync(java.lang.String accountId, java.lang.Integer pageSize, java.lang.String id, ApiCallback<NamespacesInfoDTO> _callback) throws ApiExceptionGet namespaces created by an account (asynchronously) Gets an array of namespaces for a given account address.- Parameters:
accountId- Account public key or address. (required)pageSize- Number of transactions to return for each request. (optional, default to 10)id- Namespace identifier up to which transactions are returned. (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 - 404 ResourceNotFound - 409 InvalidArgument -
-
getNamespacesFromAccountsCall
public okhttp3.Call getNamespacesFromAccountsCall(AccountIds accountIds, ApiCallback _callback) throws ApiException
Build call for getNamespacesFromAccounts- 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 -
-
getNamespacesFromAccounts
public NamespacesInfoDTO getNamespacesFromAccounts(AccountIds accountIds) throws ApiException
Get namespaces for given array of addresses Gets namespaces for a given array of addresses.- Parameters:
accountIds- (optional)- Returns:
- NamespacesInfoDTO
- 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 -
-
getNamespacesFromAccountsWithHttpInfo
public ApiResponse<NamespacesInfoDTO> getNamespacesFromAccountsWithHttpInfo(AccountIds accountIds) throws ApiException
Get namespaces for given array of addresses Gets namespaces for a given array of addresses.- Parameters:
accountIds- (optional)- Returns:
- ApiResponse<NamespacesInfoDTO>
- 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 -
-
getNamespacesFromAccountsAsync
public okhttp3.Call getNamespacesFromAccountsAsync(AccountIds accountIds, ApiCallback<NamespacesInfoDTO> _callback) throws ApiException
Get namespaces for given array of addresses (asynchronously) Gets namespaces 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 -
-
getNamespacesNamesCall
public okhttp3.Call getNamespacesNamesCall(NamespaceIds namespaceIds, ApiCallback _callback) throws ApiException
Build call for getNamespacesNames- Parameters:
namespaceIds- (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 -
-
getNamespacesNames
public java.util.List<NamespaceNameDTO> getNamespacesNames(NamespaceIds namespaceIds) throws ApiException
Get readable names for a set of namespaces Returns friendly names for namespaces.- Parameters:
namespaceIds- (required)- Returns:
- List<NamespaceNameDTO>
- 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 -
-
getNamespacesNamesWithHttpInfo
public ApiResponse<java.util.List<NamespaceNameDTO>> getNamespacesNamesWithHttpInfo(NamespaceIds namespaceIds) throws ApiException
Get readable names for a set of namespaces Returns friendly names for namespaces.- Parameters:
namespaceIds- (required)- Returns:
- ApiResponse<List<NamespaceNameDTO>>
- 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 -
-
getNamespacesNamesAsync
public okhttp3.Call getNamespacesNamesAsync(NamespaceIds namespaceIds, ApiCallback<java.util.List<NamespaceNameDTO>> _callback) throws ApiException
Get readable names for a set of namespaces (asynchronously) Returns friendly names for namespaces.- Parameters:
namespaceIds- (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 -
-
-