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,
OffsetDateTime since,
OffsetDateTime before)
Get emails for an alias
Get paginated emails for an alias by ID
|
okhttp3.Call |
getAliasEmailsAsync(UUID aliasId,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
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,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getAliasEmails
|
ApiResponse<PageEmailProjection> |
getAliasEmailsWithHttpInfo(UUID aliasId,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get emails for an alias
Get paginated emails for an alias by ID
|
PageAlias |
getAliases(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get all email aliases you have created
Get all email aliases in paginated form
|
okhttp3.Call |
getAliasesAsync(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
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,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getAliases
|
ApiResponse<PageAlias> |
getAliasesWithHttpInfo(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get all email aliases you have created
Get all email aliases in paginated form
|
PageThreadProjection |
getAliasThreads(UUID aliasId,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
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,
OffsetDateTime since,
OffsetDateTime before,
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,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getAliasThreads
|
ApiResponse<PageThreadProjection> |
getAliasThreadsWithHttpInfo(UUID aliasId,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
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() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
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 |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
AliasDto |
updateAlias(UUID aliasId,
UpdateAliasOptions updateAliasOptions)
Update an email alias
|
okhttp3.Call |
updateAliasAsync(UUID aliasId,
UpdateAliasOptions updateAliasOptions,
ApiCallback<AliasDto> _callback)
Update an email alias (asynchronously)
|
okhttp3.Call |
updateAliasCall(UUID aliasId,
UpdateAliasOptions updateAliasOptions,
ApiCallback _callback)
Build call for updateAlias
|
ApiResponse<AliasDto> |
updateAliasWithHttpInfo(UUID aliasId,
UpdateAliasOptions updateAliasOptions)
Update an email alias
|
public AliasControllerApi()
public AliasControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call createAliasCall(CreateAliasOptions createAliasOptions, ApiCallback _callback) throws ApiException
createAliasOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
201 | Created | - |
public AliasDto createAlias(CreateAliasOptions createAliasOptions) throws ApiException
createAliasOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
201 | Created | - |
public ApiResponse<AliasDto> createAliasWithHttpInfo(CreateAliasOptions createAliasOptions) throws ApiException
createAliasOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
201 | Created | - |
public okhttp3.Call createAliasAsync(CreateAliasOptions createAliasOptions, ApiCallback<AliasDto> _callback) throws ApiException
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 objectStatus Code | Description | Response Headers |
201 | Created | - |
public okhttp3.Call deleteAliasCall(UUID aliasId, ApiCallback _callback) throws ApiException
aliasId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
204 | No Content | - |
public void deleteAlias(UUID aliasId) throws ApiException
aliasId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public ApiResponse<Void> deleteAliasWithHttpInfo(UUID aliasId) throws ApiException
aliasId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call deleteAliasAsync(UUID aliasId, ApiCallback<Void> _callback) throws ApiException
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 objectStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call getAliasCall(UUID aliasId, ApiCallback _callback) throws ApiException
aliasId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public AliasDto getAlias(UUID aliasId) throws ApiException
aliasId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<AliasDto> getAliasWithHttpInfo(UUID aliasId) throws ApiException
aliasId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAliasAsync(UUID aliasId, ApiCallback<AliasDto> _callback) throws ApiException
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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAliasEmailsCall(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
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)since
- Optional filter by sent after given date time (optional)before
- Optional filter by sent before given date time (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageEmailProjection getAliasEmails(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
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)since
- Optional filter by sent after given date time (optional)before
- Optional filter by sent before given date time (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageEmailProjection> getAliasEmailsWithHttpInfo(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
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)since
- Optional filter by sent after given date time (optional)before
- Optional filter by sent before given date time (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAliasEmailsAsync(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageEmailProjection> _callback) throws ApiException
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)since
- Optional filter by sent after given date time (optional)before
- Optional filter by sent before given date time (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAliasThreadsCall(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
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)since
- Optional filter by sent after given date time (optional)before
- Optional filter by sent before given date time (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageThreadProjection getAliasThreads(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
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)since
- Optional filter by sent after given date time (optional)before
- Optional filter by sent before given date time (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageThreadProjection> getAliasThreadsWithHttpInfo(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
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)since
- Optional filter by sent after given date time (optional)before
- Optional filter by sent before given date time (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAliasThreadsAsync(UUID aliasId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageThreadProjection> _callback) throws ApiException
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)since
- Optional filter by sent after given date time (optional)before
- Optional filter by sent before given date time (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAliasesCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, 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)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageAlias getAliases(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) 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)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageAlias> getAliasesWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) 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)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAliasesAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, 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)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
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
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
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
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
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
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
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
- (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call sendAliasEmailCall(UUID aliasId, SendEmailOptions sendEmailOptions, ApiCallback _callback) throws ApiException
aliasId
- (required)sendEmailOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public SentEmailDto sendAliasEmail(UUID aliasId, SendEmailOptions sendEmailOptions) throws ApiException
aliasId
- (required)sendEmailOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<SentEmailDto> sendAliasEmailWithHttpInfo(UUID aliasId, SendEmailOptions sendEmailOptions) throws ApiException
aliasId
- (required)sendEmailOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call sendAliasEmailAsync(UUID aliasId, SendEmailOptions sendEmailOptions, ApiCallback<SentEmailDto> _callback) throws ApiException
aliasId
- (required)sendEmailOptions
- (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call updateAliasCall(UUID aliasId, UpdateAliasOptions updateAliasOptions, ApiCallback _callback) throws ApiException
aliasId
- (required)updateAliasOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
202 | Accepted | - |
public AliasDto updateAlias(UUID aliasId, UpdateAliasOptions updateAliasOptions) throws ApiException
aliasId
- (required)updateAliasOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
202 | Accepted | - |
public ApiResponse<AliasDto> updateAliasWithHttpInfo(UUID aliasId, UpdateAliasOptions updateAliasOptions) throws ApiException
aliasId
- (required)updateAliasOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
202 | Accepted | - |
public okhttp3.Call updateAliasAsync(UUID aliasId, UpdateAliasOptions updateAliasOptions, ApiCallback<AliasDto> _callback) throws ApiException
aliasId
- (required)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 objectStatus Code | Description | Response Headers |
202 | Accepted | - |
Copyright © 2023. All rights reserved.