public class InboxRulesetControllerApi extends Object
Constructor and Description |
---|
InboxRulesetControllerApi() |
InboxRulesetControllerApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
InboxRulesetDto |
createNewInboxRuleset(CreateInboxRulesetOptions createInboxRulesetOptions,
UUID inboxId)
Create an inbox ruleset
Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
|
okhttp3.Call |
createNewInboxRulesetAsync(CreateInboxRulesetOptions createInboxRulesetOptions,
UUID inboxId,
ApiCallback<InboxRulesetDto> _callback)
Create an inbox ruleset (asynchronously)
Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
|
okhttp3.Call |
createNewInboxRulesetCall(CreateInboxRulesetOptions createInboxRulesetOptions,
UUID inboxId,
ApiCallback _callback)
Build call for createNewInboxRuleset
|
ApiResponse<InboxRulesetDto> |
createNewInboxRulesetWithHttpInfo(CreateInboxRulesetOptions createInboxRulesetOptions,
UUID inboxId)
Create an inbox ruleset
Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
|
void |
deleteInboxRuleset(UUID id)
Delete an inbox ruleset
Delete inbox ruleset
|
okhttp3.Call |
deleteInboxRulesetAsync(UUID id,
ApiCallback<Void> _callback)
Delete an inbox ruleset (asynchronously)
Delete inbox ruleset
|
okhttp3.Call |
deleteInboxRulesetCall(UUID id,
ApiCallback _callback)
Build call for deleteInboxRuleset
|
void |
deleteInboxRulesets(UUID inboxId)
Delete inbox rulesets
Delete inbox rulesets.
|
okhttp3.Call |
deleteInboxRulesetsAsync(UUID inboxId,
ApiCallback<Void> _callback)
Delete inbox rulesets (asynchronously)
Delete inbox rulesets.
|
okhttp3.Call |
deleteInboxRulesetsCall(UUID inboxId,
ApiCallback _callback)
Build call for deleteInboxRulesets
|
ApiResponse<Void> |
deleteInboxRulesetsWithHttpInfo(UUID inboxId)
Delete inbox rulesets
Delete inbox rulesets.
|
ApiResponse<Void> |
deleteInboxRulesetWithHttpInfo(UUID id)
Delete an inbox ruleset
Delete inbox ruleset
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
InboxRulesetDto |
getInboxRuleset(UUID id)
Get an inbox ruleset
Get inbox ruleset
|
okhttp3.Call |
getInboxRulesetAsync(UUID id,
ApiCallback<InboxRulesetDto> _callback)
Get an inbox ruleset (asynchronously)
Get inbox ruleset
|
okhttp3.Call |
getInboxRulesetCall(UUID id,
ApiCallback _callback)
Build call for getInboxRuleset
|
PageInboxRulesetDto |
getInboxRulesets(UUID inboxId,
Integer page,
Integer size,
String sort,
String searchFilter,
OffsetDateTime since,
OffsetDateTime before)
List inbox rulesets
List all rulesets attached to an inbox
|
okhttp3.Call |
getInboxRulesetsAsync(UUID inboxId,
Integer page,
Integer size,
String sort,
String searchFilter,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback<PageInboxRulesetDto> _callback)
List inbox rulesets (asynchronously)
List all rulesets attached to an inbox
|
okhttp3.Call |
getInboxRulesetsCall(UUID inboxId,
Integer page,
Integer size,
String sort,
String searchFilter,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getInboxRulesets
|
ApiResponse<PageInboxRulesetDto> |
getInboxRulesetsWithHttpInfo(UUID inboxId,
Integer page,
Integer size,
String sort,
String searchFilter,
OffsetDateTime since,
OffsetDateTime before)
List inbox rulesets
List all rulesets attached to an inbox
|
ApiResponse<InboxRulesetDto> |
getInboxRulesetWithHttpInfo(UUID id)
Get an inbox ruleset
Get inbox ruleset
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
InboxRulesetTestResult |
testInboxRuleset(UUID id,
InboxRulesetTestOptions inboxRulesetTestOptions)
Test an inbox ruleset
Test an inbox ruleset
|
okhttp3.Call |
testInboxRulesetAsync(UUID id,
InboxRulesetTestOptions inboxRulesetTestOptions,
ApiCallback<InboxRulesetTestResult> _callback)
Test an inbox ruleset (asynchronously)
Test an inbox ruleset
|
okhttp3.Call |
testInboxRulesetCall(UUID id,
InboxRulesetTestOptions inboxRulesetTestOptions,
ApiCallback _callback)
Build call for testInboxRuleset
|
InboxRulesetTestResult |
testInboxRulesetsForInbox(UUID inboxId,
InboxRulesetTestOptions inboxRulesetTestOptions)
Test inbox rulesets for inbox
Test inbox rulesets for inbox
|
okhttp3.Call |
testInboxRulesetsForInboxAsync(UUID inboxId,
InboxRulesetTestOptions inboxRulesetTestOptions,
ApiCallback<InboxRulesetTestResult> _callback)
Test inbox rulesets for inbox (asynchronously)
Test inbox rulesets for inbox
|
okhttp3.Call |
testInboxRulesetsForInboxCall(UUID inboxId,
InboxRulesetTestOptions inboxRulesetTestOptions,
ApiCallback _callback)
Build call for testInboxRulesetsForInbox
|
ApiResponse<InboxRulesetTestResult> |
testInboxRulesetsForInboxWithHttpInfo(UUID inboxId,
InboxRulesetTestOptions inboxRulesetTestOptions)
Test inbox rulesets for inbox
Test inbox rulesets for inbox
|
ApiResponse<InboxRulesetTestResult> |
testInboxRulesetWithHttpInfo(UUID id,
InboxRulesetTestOptions inboxRulesetTestOptions)
Test an inbox ruleset
Test an inbox ruleset
|
InboxRulesetTestResult |
testNewInboxRuleset(TestNewInboxRulesetOptions testNewInboxRulesetOptions)
Test new inbox ruleset
Test new inbox ruleset
|
okhttp3.Call |
testNewInboxRulesetAsync(TestNewInboxRulesetOptions testNewInboxRulesetOptions,
ApiCallback<InboxRulesetTestResult> _callback)
Test new inbox ruleset (asynchronously)
Test new inbox ruleset
|
okhttp3.Call |
testNewInboxRulesetCall(TestNewInboxRulesetOptions testNewInboxRulesetOptions,
ApiCallback _callback)
Build call for testNewInboxRuleset
|
ApiResponse<InboxRulesetTestResult> |
testNewInboxRulesetWithHttpInfo(TestNewInboxRulesetOptions testNewInboxRulesetOptions)
Test new inbox ruleset
Test new inbox ruleset
|
public InboxRulesetControllerApi()
public InboxRulesetControllerApi(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 createNewInboxRulesetCall(CreateInboxRulesetOptions createInboxRulesetOptions, UUID inboxId, ApiCallback _callback) throws ApiException
createInboxRulesetOptions
- (required)inboxId
- Inbox id to attach ruleset to (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public InboxRulesetDto createNewInboxRuleset(CreateInboxRulesetOptions createInboxRulesetOptions, UUID inboxId) throws ApiException
createInboxRulesetOptions
- (required)inboxId
- Inbox id to attach ruleset to (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<InboxRulesetDto> createNewInboxRulesetWithHttpInfo(CreateInboxRulesetOptions createInboxRulesetOptions, UUID inboxId) throws ApiException
createInboxRulesetOptions
- (required)inboxId
- Inbox id to attach ruleset to (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 createNewInboxRulesetAsync(CreateInboxRulesetOptions createInboxRulesetOptions, UUID inboxId, ApiCallback<InboxRulesetDto> _callback) throws ApiException
createInboxRulesetOptions
- (required)inboxId
- Inbox id to attach ruleset to (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 deleteInboxRulesetCall(UUID id, ApiCallback _callback) throws ApiException
id
- ID of inbox ruleset (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
204 | No Content | - |
public void deleteInboxRuleset(UUID id) throws ApiException
id
- ID of inbox ruleset (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> deleteInboxRulesetWithHttpInfo(UUID id) throws ApiException
id
- ID of inbox ruleset (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 deleteInboxRulesetAsync(UUID id, ApiCallback<Void> _callback) throws ApiException
id
- ID of inbox ruleset (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 deleteInboxRulesetsCall(UUID inboxId, ApiCallback _callback) throws ApiException
inboxId
- Optional inbox id to attach ruleset to (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
204 | No Content | - |
public void deleteInboxRulesets(UUID inboxId) throws ApiException
inboxId
- Optional inbox id to attach ruleset to (optional)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> deleteInboxRulesetsWithHttpInfo(UUID inboxId) throws ApiException
inboxId
- Optional inbox id to attach ruleset to (optional)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 deleteInboxRulesetsAsync(UUID inboxId, ApiCallback<Void> _callback) throws ApiException
inboxId
- Optional inbox id to attach ruleset to (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 |
204 | No Content | - |
public okhttp3.Call getInboxRulesetCall(UUID id, ApiCallback _callback) throws ApiException
id
- ID of inbox ruleset (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public InboxRulesetDto getInboxRuleset(UUID id) throws ApiException
id
- ID of inbox ruleset (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<InboxRulesetDto> getInboxRulesetWithHttpInfo(UUID id) throws ApiException
id
- ID of inbox ruleset (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 getInboxRulesetAsync(UUID id, ApiCallback<InboxRulesetDto> _callback) throws ApiException
id
- ID of inbox ruleset (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 getInboxRulesetsCall(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
inboxId
- Optional inbox id to get rulesets from (optional)page
- Optional page index in inbox ruleset list pagination (optional, default to 0)size
- Optional page size in inbox ruleset list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter
- Optional search filter (optional)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 PageInboxRulesetDto getInboxRulesets(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException
inboxId
- Optional inbox id to get rulesets from (optional)page
- Optional page index in inbox ruleset list pagination (optional, default to 0)size
- Optional page size in inbox ruleset list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter
- Optional search filter (optional)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<PageInboxRulesetDto> getInboxRulesetsWithHttpInfo(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before) throws ApiException
inboxId
- Optional inbox id to get rulesets from (optional)page
- Optional page index in inbox ruleset list pagination (optional, default to 0)size
- Optional page size in inbox ruleset list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter
- Optional search filter (optional)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 getInboxRulesetsAsync(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageInboxRulesetDto> _callback) throws ApiException
inboxId
- Optional inbox id to get rulesets from (optional)page
- Optional page index in inbox ruleset list pagination (optional, default to 0)size
- Optional page size in inbox ruleset list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)searchFilter
- Optional search filter (optional)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 testInboxRulesetCall(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions, ApiCallback _callback) throws ApiException
id
- ID of inbox ruleset (required)inboxRulesetTestOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public InboxRulesetTestResult testInboxRuleset(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions) throws ApiException
id
- ID of inbox ruleset (required)inboxRulesetTestOptions
- (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<InboxRulesetTestResult> testInboxRulesetWithHttpInfo(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions) throws ApiException
id
- ID of inbox ruleset (required)inboxRulesetTestOptions
- (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 testInboxRulesetAsync(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions, ApiCallback<InboxRulesetTestResult> _callback) throws ApiException
id
- ID of inbox ruleset (required)inboxRulesetTestOptions
- (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 testInboxRulesetsForInboxCall(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions, ApiCallback _callback) throws ApiException
inboxId
- ID of inbox (required)inboxRulesetTestOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public InboxRulesetTestResult testInboxRulesetsForInbox(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions) throws ApiException
inboxId
- ID of inbox (required)inboxRulesetTestOptions
- (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<InboxRulesetTestResult> testInboxRulesetsForInboxWithHttpInfo(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions) throws ApiException
inboxId
- ID of inbox (required)inboxRulesetTestOptions
- (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 testInboxRulesetsForInboxAsync(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions, ApiCallback<InboxRulesetTestResult> _callback) throws ApiException
inboxId
- ID of inbox (required)inboxRulesetTestOptions
- (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 testNewInboxRulesetCall(TestNewInboxRulesetOptions testNewInboxRulesetOptions, ApiCallback _callback) throws ApiException
testNewInboxRulesetOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public InboxRulesetTestResult testNewInboxRuleset(TestNewInboxRulesetOptions testNewInboxRulesetOptions) throws ApiException
testNewInboxRulesetOptions
- (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<InboxRulesetTestResult> testNewInboxRulesetWithHttpInfo(TestNewInboxRulesetOptions testNewInboxRulesetOptions) throws ApiException
testNewInboxRulesetOptions
- (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 testNewInboxRulesetAsync(TestNewInboxRulesetOptions testNewInboxRulesetOptions, ApiCallback<InboxRulesetTestResult> _callback) throws ApiException
testNewInboxRulesetOptions
- (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 | - |
Copyright © 2023. All rights reserved.