-
public final class InboxRulesetControllerApi extends ApiClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classInboxRulesetControllerApi.Companion
-
Constructor Summary
Constructors Constructor Description InboxRulesetControllerApi(String xApiKey, String basePath)
-
Method Summary
Modifier and Type Method Description final StringgetBaseUrl()final InboxRulesetDtocreateNewInboxRuleset(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions)Create an inbox ruleset Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving final RequestConfigcreateNewInboxRulesetRequestConfig(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions)To obtain the request config of the operation createNewInboxRuleset final UnitdeleteInboxRuleset(UUID id)Delete an inbox ruleset Delete inbox ruleset final RequestConfigdeleteInboxRulesetRequestConfig(UUID id)To obtain the request config of the operation deleteInboxRuleset final UnitdeleteInboxRulesets(UUID inboxId)Delete inbox rulesets Delete inbox rulesets. final RequestConfigdeleteInboxRulesetsRequestConfig(UUID inboxId)To obtain the request config of the operation deleteInboxRulesets final InboxRulesetDtogetInboxRuleset(UUID id)Get an inbox ruleset Get inbox ruleset final RequestConfiggetInboxRulesetRequestConfig(UUID id)To obtain the request config of the operation getInboxRuleset final PageInboxRulesetDtogetInboxRulesets(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)List inbox rulesets List all rulesets attached to an inbox final RequestConfiggetInboxRulesetsRequestConfig(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)To obtain the request config of the operation getInboxRulesets final InboxRulesetTestResulttestInboxRuleset(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions)Test an inbox ruleset Test an inbox ruleset final RequestConfigtestInboxRulesetRequestConfig(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions)To obtain the request config of the operation testInboxRuleset final InboxRulesetTestResulttestInboxRulesetsForInbox(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions)Test inbox rulesets for inbox Test inbox rulesets for inbox final RequestConfigtestInboxRulesetsForInboxRequestConfig(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions)To obtain the request config of the operation testInboxRulesetsForInbox final InboxRulesetTestResulttestNewInboxRuleset(TestNewInboxRulesetOptions testNewInboxRulesetOptions)Test new inbox ruleset Test new inbox ruleset final RequestConfigtestNewInboxRulesetRequestConfig(TestNewInboxRulesetOptions testNewInboxRulesetOptions)To obtain the request config of the operation testNewInboxRuleset -
-
Method Detail
-
getBaseUrl
final String getBaseUrl()
-
createNewInboxRuleset
final InboxRulesetDto createNewInboxRuleset(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions)
Create an inbox ruleset Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
- Parameters:
inboxId- Inbox id to attach ruleset to
-
createNewInboxRulesetRequestConfig
final RequestConfig createNewInboxRulesetRequestConfig(UUID inboxId, CreateInboxRulesetOptions createInboxRulesetOptions)
To obtain the request config of the operation createNewInboxRuleset
- Parameters:
inboxId- Inbox id to attach ruleset to
-
deleteInboxRuleset
final Unit deleteInboxRuleset(UUID id)
Delete an inbox ruleset Delete inbox ruleset
- Parameters:
id- ID of inbox ruleset
-
deleteInboxRulesetRequestConfig
final RequestConfig deleteInboxRulesetRequestConfig(UUID id)
To obtain the request config of the operation deleteInboxRuleset
- Parameters:
id- ID of inbox ruleset
-
deleteInboxRulesets
final Unit deleteInboxRulesets(UUID inboxId)
Delete inbox rulesets Delete inbox rulesets. Accepts optional inboxId filter.
- Parameters:
inboxId- Optional inbox id to attach ruleset to (optional)
-
deleteInboxRulesetsRequestConfig
final RequestConfig deleteInboxRulesetsRequestConfig(UUID inboxId)
To obtain the request config of the operation deleteInboxRulesets
- Parameters:
inboxId- Optional inbox id to attach ruleset to (optional)
-
getInboxRuleset
final InboxRulesetDto getInboxRuleset(UUID id)
Get an inbox ruleset Get inbox ruleset
- Parameters:
id- ID of inbox ruleset
-
getInboxRulesetRequestConfig
final RequestConfig getInboxRulesetRequestConfig(UUID id)
To obtain the request config of the operation getInboxRuleset
- Parameters:
id- ID of inbox ruleset
-
getInboxRulesets
final 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
- Parameters:
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)
-
getInboxRulesetsRequestConfig
final RequestConfig getInboxRulesetsRequestConfig(UUID inboxId, Integer page, Integer size, String sort, String searchFilter, OffsetDateTime since, OffsetDateTime before)
To obtain the request config of the operation getInboxRulesets
- Parameters:
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)
-
testInboxRuleset
final InboxRulesetTestResult testInboxRuleset(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions)
Test an inbox ruleset Test an inbox ruleset
- Parameters:
id- ID of inbox ruleset
-
testInboxRulesetRequestConfig
final RequestConfig testInboxRulesetRequestConfig(UUID id, InboxRulesetTestOptions inboxRulesetTestOptions)
To obtain the request config of the operation testInboxRuleset
- Parameters:
id- ID of inbox ruleset
-
testInboxRulesetsForInbox
final InboxRulesetTestResult testInboxRulesetsForInbox(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions)
Test inbox rulesets for inbox Test inbox rulesets for inbox
- Parameters:
inboxId- ID of inbox
-
testInboxRulesetsForInboxRequestConfig
final RequestConfig testInboxRulesetsForInboxRequestConfig(UUID inboxId, InboxRulesetTestOptions inboxRulesetTestOptions)
To obtain the request config of the operation testInboxRulesetsForInbox
- Parameters:
inboxId- ID of inbox
-
testNewInboxRuleset
final InboxRulesetTestResult testNewInboxRuleset(TestNewInboxRulesetOptions testNewInboxRulesetOptions)
Test new inbox ruleset Test new inbox ruleset
-
testNewInboxRulesetRequestConfig
final RequestConfig testNewInboxRulesetRequestConfig(TestNewInboxRulesetOptions testNewInboxRulesetOptions)
To obtain the request config of the operation testNewInboxRuleset
-
-
-
-