Class RestrictionAccountRoutesApi
- java.lang.Object
-
- io.nem.sdk.openapi.okhttp_gson.api.RestrictionAccountRoutesApi
-
public class RestrictionAccountRoutesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RestrictionAccountRoutesApi()RestrictionAccountRoutesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountRestrictionsInfoDTOgetAccountRestrictions(java.lang.String accountId)Get the account restrictions Returns the account restrictions for a given account.okhttp3.CallgetAccountRestrictionsAsync(java.lang.String accountId, ApiCallback<AccountRestrictionsInfoDTO> _callback)Get the account restrictions (asynchronously) Returns the account restrictions for a given account.okhttp3.CallgetAccountRestrictionsCall(java.lang.String accountId, ApiCallback _callback)Build call for getAccountRestrictionsjava.util.List<AccountRestrictionsInfoDTO>getAccountRestrictionsFromAccounts(AccountIds accountIds)Get account restrictions for given array of addresses Returns the account restrictions for a given array of addresses.okhttp3.CallgetAccountRestrictionsFromAccountsAsync(AccountIds accountIds, ApiCallback<java.util.List<AccountRestrictionsInfoDTO>> _callback)Get account restrictions for given array of addresses (asynchronously) Returns the account restrictions for a given array of addresses.okhttp3.CallgetAccountRestrictionsFromAccountsCall(AccountIds accountIds, ApiCallback _callback)Build call for getAccountRestrictionsFromAccountsApiResponse<java.util.List<AccountRestrictionsInfoDTO>>getAccountRestrictionsFromAccountsWithHttpInfo(AccountIds accountIds)Get account restrictions for given array of addresses Returns the account restrictions for a given array of addresses.ApiResponse<AccountRestrictionsInfoDTO>getAccountRestrictionsWithHttpInfo(java.lang.String accountId)Get the account restrictions Returns the account restrictions for a given account.ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
RestrictionAccountRoutesApi
public RestrictionAccountRoutesApi()
-
RestrictionAccountRoutesApi
public RestrictionAccountRoutesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getAccountRestrictionsCall
public okhttp3.Call getAccountRestrictionsCall(java.lang.String accountId, ApiCallback _callback) throws ApiExceptionBuild call for getAccountRestrictions- 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 -
-
getAccountRestrictions
public AccountRestrictionsInfoDTO getAccountRestrictions(java.lang.String accountId) throws ApiException
Get the account restrictions Returns the account restrictions for a given account.- Parameters:
accountId- Account public key or address. (required)- Returns:
- AccountRestrictionsInfoDTO
- 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 -
-
getAccountRestrictionsWithHttpInfo
public ApiResponse<AccountRestrictionsInfoDTO> getAccountRestrictionsWithHttpInfo(java.lang.String accountId) throws ApiException
Get the account restrictions Returns the account restrictions for a given account.- Parameters:
accountId- Account public key or address. (required)- Returns:
- ApiResponse<AccountRestrictionsInfoDTO>
- 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 -
-
getAccountRestrictionsAsync
public okhttp3.Call getAccountRestrictionsAsync(java.lang.String accountId, ApiCallback<AccountRestrictionsInfoDTO> _callback) throws ApiExceptionGet the account restrictions (asynchronously) Returns the account restrictions for a given account.- 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 -
-
getAccountRestrictionsFromAccountsCall
public okhttp3.Call getAccountRestrictionsFromAccountsCall(AccountIds accountIds, ApiCallback _callback) throws ApiException
Build call for getAccountRestrictionsFromAccounts- 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 -
-
getAccountRestrictionsFromAccounts
public java.util.List<AccountRestrictionsInfoDTO> getAccountRestrictionsFromAccounts(AccountIds accountIds) throws ApiException
Get account restrictions for given array of addresses Returns the account restrictions for a given array of addresses.- Parameters:
accountIds- (optional)- Returns:
- List<AccountRestrictionsInfoDTO>
- 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 -
-
getAccountRestrictionsFromAccountsWithHttpInfo
public ApiResponse<java.util.List<AccountRestrictionsInfoDTO>> getAccountRestrictionsFromAccountsWithHttpInfo(AccountIds accountIds) throws ApiException
Get account restrictions for given array of addresses Returns the account restrictions for a given array of addresses.- Parameters:
accountIds- (optional)- Returns:
- ApiResponse<List<AccountRestrictionsInfoDTO>>
- 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 -
-
getAccountRestrictionsFromAccountsAsync
public okhttp3.Call getAccountRestrictionsFromAccountsAsync(AccountIds accountIds, ApiCallback<java.util.List<AccountRestrictionsInfoDTO>> _callback) throws ApiException
Get account restrictions for given array of addresses (asynchronously) Returns the account restrictions 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 -
-
-