MailSlurpAPI.Api.InboxRulesetController (mailslurp v12.5.0)
API calls for all endpoints tagged InboxRulesetController
.
Link to this section Summary
Functions
Create an inbox ruleset Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
Delete an inbox ruleset Delete inbox ruleset
Delete inbox rulesets Delete inbox rulesets. Accepts optional inboxId filter.
Get an inbox ruleset Get inbox ruleset
List inbox rulesets List all rulesets attached to an inbox
Link to this section Functions
create_new_inbox_ruleset(connection, create_inbox_ruleset_options, opts \\ [])
Specs
create_new_inbox_ruleset( Tesla.Env.client(), MailSlurpAPI.Model.CreateInboxRulesetOptions.t(), keyword() ) :: {:ok, MailSlurpAPI.Model.InboxRulesetDto.t()} | {:error, Tesla.Env.t()}
Create an inbox ruleset Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- create_inbox_ruleset_options (CreateInboxRulesetOptions): createInboxRulesetOptions
- opts (KeywordList): [optional] Optional parameters
} on success {:error, info} on failure
delete_inbox_ruleset(connection, id, opts \\ [])
Specs
delete_inbox_ruleset(Tesla.Env.client(), String.t(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Delete an inbox ruleset Delete inbox ruleset
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- id (String.t): ID of inbox ruleset
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
delete_inbox_rulesets(connection, opts \\ [])
Specs
delete_inbox_rulesets(Tesla.Env.client(), keyword()) :: {:ok, nil} | {:error, Tesla.Env.t()}
Delete inbox rulesets Delete inbox rulesets. Accepts optional inboxId filter.
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
} on success {:error, info} on failure
get_inbox_ruleset(connection, id, opts \\ [])
Specs
get_inbox_ruleset(Tesla.Env.client(), String.t(), keyword()) :: {:ok, MailSlurpAPI.Model.InboxRulesetDto.t()} | {:error, Tesla.Env.t()}
Get an inbox ruleset Get inbox ruleset
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- id (String.t): ID of inbox ruleset
- opts (KeywordList): [optional] Optional parameters
Returns
} on success {:error, info} on failure
get_inbox_rulesets(connection, opts \\ [])
Specs
get_inbox_rulesets(Tesla.Env.client(), keyword()) :: {:ok, MailSlurpAPI.Model.PageInboxRulesetProjection.t()} | {:error, Tesla.Env.t()}
List inbox rulesets List all rulesets attached to an inbox
Parameters
- connection (MailSlurpAPI.Connection): Connection to server
- opts (KeywordList): [optional] Optional parameters
} on success {:error, info} on failure