public class AliasControllerApi extends Object
| Constructor and Description |
|---|
AliasControllerApi() |
AliasControllerApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
AliasDto |
createAlias(CreateAliasOptions createAliasOptions)
Create an email alias.
|
okhttp3.Call |
createAliasAsync(CreateAliasOptions createAliasOptions,
ApiCallback<AliasDto> _callback)
Create an email alias.
|
okhttp3.Call |
createAliasCall(CreateAliasOptions createAliasOptions,
ApiCallback _callback)
Build call for createAlias
|
ApiResponse<AliasDto> |
createAliasWithHttpInfo(CreateAliasOptions createAliasOptions)
Create an email alias.
|
void |
deleteAlias(UUID aliasId)
Delete an email alias
|
okhttp3.Call |
deleteAliasAsync(UUID aliasId,
ApiCallback<Void> _callback)
Delete an email alias (asynchronously)
|
okhttp3.Call |
deleteAliasCall(UUID aliasId,
ApiCallback _callback)
Build call for deleteAlias
|
ApiResponse<Void> |
deleteAliasWithHttpInfo(UUID aliasId)
Delete an email alias
|
AliasDto |
getAlias(UUID aliasId)
Get an email alias
Get an email alias by ID
|
okhttp3.Call |
getAliasAsync(UUID aliasId,
ApiCallback<AliasDto> _callback)
Get an email alias (asynchronously)
Get an email alias by ID
|
okhttp3.Call |
getAliasCall(UUID aliasId,
ApiCallback _callback)
Build call for getAlias
|
PageEmailProjection |
getAliasEmails(UUID aliasId,
Integer page,
Integer size,
String sort)
Get emails for an alias
Get paginated emails for an alias by ID
|
okhttp3.Call |
getAliasEmailsAsync(UUID aliasId,
Integer page,
Integer size,
String sort,
ApiCallback<PageEmailProjection> _callback)
Get emails for an alias (asynchronously)
Get paginated emails for an alias by ID
|
okhttp3.Call |
getAliasEmailsCall(UUID aliasId,
Integer page,
Integer size,
String sort,
ApiCallback _callback)
Build call for getAliasEmails
|
ApiResponse<PageEmailProjection> |
getAliasEmailsWithHttpInfo(UUID aliasId,
Integer page,
Integer size,
String sort)
Get emails for an alias
Get paginated emails for an alias by ID
|
PageAlias |
getAliases(Integer page,
Integer size,
String sort)
Get all email aliases you have created
Get all email aliases in paginated form
|
okhttp3.Call |
getAliasesAsync(Integer page,
Integer size,
String sort,
ApiCallback<PageAlias> _callback)
Get all email aliases you have created (asynchronously)
Get all email aliases in paginated form
|
okhttp3.Call |
getAliasesCall(Integer page,
Integer size,
String sort,
ApiCallback _callback)
Build call for getAliases
|
ApiResponse<PageAlias> |
getAliasesWithHttpInfo(Integer page,
Integer size,
String sort)
Get all email aliases you have created
Get all email aliases in paginated form
|
PageThreadProjection |
getAliasThreads(UUID aliasId,
Integer page,
Integer size,
String sort)
Get threads created for an alias
Returns threads created for an email alias in paginated form
|
okhttp3.Call |
getAliasThreadsAsync(UUID aliasId,
Integer page,
Integer size,
String sort,
ApiCallback<PageThreadProjection> _callback)
Get threads created for an alias (asynchronously)
Returns threads created for an email alias in paginated form
|
okhttp3.Call |
getAliasThreadsCall(UUID aliasId,
Integer page,
Integer size,
String sort,
ApiCallback _callback)
Build call for getAliasThreads
|
ApiResponse<PageThreadProjection> |
getAliasThreadsWithHttpInfo(UUID aliasId,
Integer page,
Integer size,
String sort)
Get threads created for an alias
Returns threads created for an email alias in paginated form
|
ApiResponse<AliasDto> |
getAliasWithHttpInfo(UUID aliasId)
Get an email alias
Get an email alias by ID
|
ApiClient |
getApiClient() |
SentEmailDto |
replyToAliasEmail(UUID aliasId,
UUID emailId,
ReplyToAliasEmailOptions replyToAliasEmailOptions)
Reply to an email
Send the reply to the email sender or reply-to and include same subject cc bcc etc.
|
okhttp3.Call |
replyToAliasEmailAsync(UUID aliasId,
UUID emailId,
ReplyToAliasEmailOptions replyToAliasEmailOptions,
ApiCallback<SentEmailDto> _callback)
Reply to an email (asynchronously)
Send the reply to the email sender or reply-to and include same subject cc bcc etc.
|
okhttp3.Call |
replyToAliasEmailCall(UUID aliasId,
UUID emailId,
ReplyToAliasEmailOptions replyToAliasEmailOptions,
ApiCallback _callback)
Build call for replyToAliasEmail
|
ApiResponse<SentEmailDto> |
replyToAliasEmailWithHttpInfo(UUID aliasId,
UUID emailId,
ReplyToAliasEmailOptions replyToAliasEmailOptions)
Reply to an email
Send the reply to the email sender or reply-to and include same subject cc bcc etc.
|
SentEmailDto |
sendAliasEmail(UUID aliasId,
SendEmailOptions sendEmailOptions)
Send an email from an alias inbox
Send an email from an alias.
|
okhttp3.Call |
sendAliasEmailAsync(UUID aliasId,
SendEmailOptions sendEmailOptions,
ApiCallback<SentEmailDto> _callback)
Send an email from an alias inbox (asynchronously)
Send an email from an alias.
|
okhttp3.Call |
sendAliasEmailCall(UUID aliasId,
SendEmailOptions sendEmailOptions,
ApiCallback _callback)
Build call for sendAliasEmail
|
ApiResponse<SentEmailDto> |
sendAliasEmailWithHttpInfo(UUID aliasId,
SendEmailOptions sendEmailOptions)
Send an email from an alias inbox
Send an email from an alias.
|
void |
setApiClient(ApiClient apiClient) |
void |
updateAlias(UUID aliasId,
UpdateAliasOptions updateAliasOptions)
Update an email alias
|
okhttp3.Call |
updateAliasAsync(UUID aliasId,
UpdateAliasOptions updateAliasOptions,
ApiCallback<Void> _callback)
Update an email alias (asynchronously)
|
okhttp3.Call |
updateAliasCall(UUID aliasId,
UpdateAliasOptions updateAliasOptions,
ApiCallback _callback)
Build call for updateAlias
|
ApiResponse<Void> |
updateAliasWithHttpInfo(UUID aliasId,
UpdateAliasOptions updateAliasOptions)
Update an email alias
|
public AliasControllerApi()
public AliasControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createAliasCall(CreateAliasOptions createAliasOptions, ApiCallback _callback) throws ApiException
createAliasOptions - createAliasOptions (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public AliasDto createAlias(CreateAliasOptions createAliasOptions) throws ApiException
createAliasOptions - createAliasOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<AliasDto> createAliasWithHttpInfo(CreateAliasOptions createAliasOptions) throws ApiException
createAliasOptions - createAliasOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call createAliasAsync(CreateAliasOptions createAliasOptions, ApiCallback<AliasDto> _callback) throws ApiException
createAliasOptions - createAliasOptions (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call deleteAliasCall(UUID aliasId, ApiCallback _callback) throws ApiException
aliasId - aliasId (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public void deleteAlias(UUID aliasId) throws ApiException
aliasId - aliasId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public ApiResponse<Void> deleteAliasWithHttpInfo(UUID aliasId) throws ApiException
aliasId - aliasId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public okhttp3.Call deleteAliasAsync(UUID aliasId, ApiCallback<Void> _callback) throws ApiException
aliasId - aliasId (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
public okhttp3.Call getAliasCall(UUID aliasId, ApiCallback _callback) throws ApiException
aliasId - aliasId (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public AliasDto getAlias(UUID aliasId) throws ApiException
aliasId - aliasId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<AliasDto> getAliasWithHttpInfo(UUID aliasId) throws ApiException
aliasId - aliasId (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getAliasAsync(UUID aliasId, ApiCallback<AliasDto> _callback) throws ApiException
aliasId - aliasId (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getAliasEmailsCall(UUID aliasId, Integer page, Integer size, String sort, ApiCallback _callback) throws ApiException
aliasId - aliasId (required)page - Optional page index alias email list pagination (optional, default to 0)size - Optional page size alias email list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public PageEmailProjection getAliasEmails(UUID aliasId, Integer page, Integer size, String sort) throws ApiException
aliasId - aliasId (required)page - Optional page index alias email list pagination (optional, default to 0)size - Optional page size alias email list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<PageEmailProjection> getAliasEmailsWithHttpInfo(UUID aliasId, Integer page, Integer size, String sort) throws ApiException
aliasId - aliasId (required)page - Optional page index alias email list pagination (optional, default to 0)size - Optional page size alias email list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getAliasEmailsAsync(UUID aliasId, Integer page, Integer size, String sort, ApiCallback<PageEmailProjection> _callback) throws ApiException
aliasId - aliasId (required)page - Optional page index alias email list pagination (optional, default to 0)size - Optional page size alias email list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getAliasThreadsCall(UUID aliasId, Integer page, Integer size, String sort, ApiCallback _callback) throws ApiException
aliasId - aliasId (required)page - Optional page index in thread list pagination (optional, default to 0)size - Optional page size in thread list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public PageThreadProjection getAliasThreads(UUID aliasId, Integer page, Integer size, String sort) throws ApiException
aliasId - aliasId (required)page - Optional page index in thread list pagination (optional, default to 0)size - Optional page size in thread list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<PageThreadProjection> getAliasThreadsWithHttpInfo(UUID aliasId, Integer page, Integer size, String sort) throws ApiException
aliasId - aliasId (required)page - Optional page index in thread list pagination (optional, default to 0)size - Optional page size in thread list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getAliasThreadsAsync(UUID aliasId, Integer page, Integer size, String sort, ApiCallback<PageThreadProjection> _callback) throws ApiException
aliasId - aliasId (required)page - Optional page index in thread list pagination (optional, default to 0)size - Optional page size in thread list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getAliasesCall(Integer page, Integer size, String sort, ApiCallback _callback) throws ApiException
page - Optional page index in alias list pagination (optional, default to 0)size - Optional page size in alias list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public PageAlias getAliases(Integer page, Integer size, String sort) throws ApiException
page - Optional page index in alias list pagination (optional, default to 0)size - Optional page size in alias list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<PageAlias> getAliasesWithHttpInfo(Integer page, Integer size, String sort) throws ApiException
page - Optional page index in alias list pagination (optional, default to 0)size - Optional page size in alias list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call getAliasesAsync(Integer page, Integer size, String sort, ApiCallback<PageAlias> _callback) throws ApiException
page - Optional page index in alias list pagination (optional, default to 0)size - Optional page size in alias list pagination (optional, default to 20)sort - Optional createdAt sort direction ASC or DESC (optional, default to ASC)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call replyToAliasEmailCall(UUID aliasId, UUID emailId, ReplyToAliasEmailOptions replyToAliasEmailOptions, ApiCallback _callback) throws ApiException
aliasId - ID of the alias that email belongs to (required)emailId - ID of the email that should be replied to (required)replyToAliasEmailOptions - replyToAliasEmailOptions (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public SentEmailDto replyToAliasEmail(UUID aliasId, UUID emailId, ReplyToAliasEmailOptions replyToAliasEmailOptions) throws ApiException
aliasId - ID of the alias that email belongs to (required)emailId - ID of the email that should be replied to (required)replyToAliasEmailOptions - replyToAliasEmailOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<SentEmailDto> replyToAliasEmailWithHttpInfo(UUID aliasId, UUID emailId, ReplyToAliasEmailOptions replyToAliasEmailOptions) throws ApiException
aliasId - ID of the alias that email belongs to (required)emailId - ID of the email that should be replied to (required)replyToAliasEmailOptions - replyToAliasEmailOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call replyToAliasEmailAsync(UUID aliasId, UUID emailId, ReplyToAliasEmailOptions replyToAliasEmailOptions, ApiCallback<SentEmailDto> _callback) throws ApiException
aliasId - ID of the alias that email belongs to (required)emailId - ID of the email that should be replied to (required)replyToAliasEmailOptions - replyToAliasEmailOptions (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call sendAliasEmailCall(UUID aliasId, SendEmailOptions sendEmailOptions, ApiCallback _callback) throws ApiException
aliasId - aliasId (required)sendEmailOptions - Options for the email to be sent (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public SentEmailDto sendAliasEmail(UUID aliasId, SendEmailOptions sendEmailOptions) throws ApiException
aliasId - aliasId (required)sendEmailOptions - Options for the email to be sent (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<SentEmailDto> sendAliasEmailWithHttpInfo(UUID aliasId, SendEmailOptions sendEmailOptions) throws ApiException
aliasId - aliasId (required)sendEmailOptions - Options for the email to be sent (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | OK | - |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call sendAliasEmailAsync(UUID aliasId, SendEmailOptions sendEmailOptions, ApiCallback<SentEmailDto> _callback) throws ApiException
aliasId - aliasId (required)sendEmailOptions - Options for the email to be sent (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | OK | - |
| 201 | Created | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call updateAliasCall(UUID aliasId, UpdateAliasOptions updateAliasOptions, ApiCallback _callback) throws ApiException
aliasId - aliasId (required)updateAliasOptions - updateAliasOptions (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 201 | Created | - |
| 202 | Accepted | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public void updateAlias(UUID aliasId, UpdateAliasOptions updateAliasOptions) throws ApiException
aliasId - aliasId (required)updateAliasOptions - updateAliasOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created | - |
| 202 | Accepted | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public ApiResponse<Void> updateAliasWithHttpInfo(UUID aliasId, UpdateAliasOptions updateAliasOptions) throws ApiException
aliasId - aliasId (required)updateAliasOptions - updateAliasOptions (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 201 | Created | - |
| 202 | Accepted | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
public okhttp3.Call updateAliasAsync(UUID aliasId, UpdateAliasOptions updateAliasOptions, ApiCallback<Void> _callback) throws ApiException
aliasId - aliasId (required)updateAliasOptions - updateAliasOptions (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 201 | Created | - |
| 202 | Accepted | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
Copyright © 2021. All rights reserved.