Package io.mailtrap.api.accounts
Class AccountsImpl
java.lang.Object
io.mailtrap.api.apiresource.ApiResource
io.mailtrap.api.accounts.AccountsImpl
- All Implemented Interfaces:
Accounts
-
Field Summary
Fields inherited from class io.mailtrap.api.apiresource.ApiResource
apiHost, httpClient, token -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a list of your Mailtrap accounts.
-
Constructor Details
-
AccountsImpl
-
-
Method Details
-
getAllAccounts
Description copied from interface:AccountsGet a list of your Mailtrap accounts.- Specified by:
getAllAccountsin interfaceAccounts- Returns:
- the list of accounts to which the API token has access
-