Class RestrictionAccountRoutesApi
- java.lang.Object
-
- io.nem.symbol.sdk.openapi.jersey2.api.RestrictionAccountRoutesApi
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-05-15T14:38:14.328808-03:00[America/Argentina/Buenos_Aires]") 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.java.util.List<AccountRestrictionsInfoDTO>getAccountRestrictionsFromAccounts(AccountIds accountIds)Get account restrictions for given array of addresses Returns the account restrictions for a given array of addresses.ApiResponse<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)
-
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 enconded using a 32-character set. (required)- Returns:
- AccountRestrictionsInfoDTO
- Throws:
ApiException- if fails to make API call- 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 enconded using a 32-character set. (required)- Returns:
- ApiResponse<AccountRestrictionsInfoDTO>
- Throws:
ApiException- if fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 404 ResourceNotFound - 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 fails to make API call- 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 fails to make API call- Http Response Details
Status Code Description Response Headers 200 success - 400 InvalidContent - 409 InvalidArgument -
-
-