Categorygithub.com/l-with/mailcow-go
modulepackage
0.0.47-beta
Repository: https://github.com/l-with/mailcow-go.git
Documentation: pkg.go.dev

# README

mailcow Go API Client

This repo contains a generated API client to talk with mailcow's API from Go.

Specials

The following API endpoints require an array as response body:

  • /delete/domain
  • /delete/mailbox

Therfore the template client.mustache include a special handling, e.g:

		if strings.HasSuffix(path, "/api/v1/delete/domain") {
			var deleteDomainRequest *DeleteDomainRequest = postBody.(*DeleteDomainRequest)
			postBody = *&deleteDomainRequest.Items
		}

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0

Installation

Install the following dependencies:

go install github.com/l.with/mailcow-go

Documentation for API Endpoints

All URIs are relative to http://localhost

ClassMethodHTTP requestDescription
AddressRewritingApiCreateBCCMapPost /api/v1/add/bccCreate BCC Map
AddressRewritingApiCreateRecipientMapPost /api/v1/add/recipient_mapCreate Recipient Map
AddressRewritingApiDeleteBCCMapPost /api/v1/delete/bccDelete BCC Map
AddressRewritingApiDeleteRecipientMapPost /api/v1/delete/recipient_mapDelete Recipient Map
AddressRewritingApiGetBCCMapGet /api/v1/get/bcc/{id}Get BCC Map
AddressRewritingApiGetRecipientMapGet /api/v1/get/recipient_map/{id}Get Recipient Map
AliasesApiCreateAliasPost /api/v1/add/aliasCreate alias
AliasesApiCreateTimeLimitedAliasPost /api/v1/add/time_limited_aliasCreate time limited alias
AliasesApiDeleteAliasPost /api/v1/delete/aliasDelete alias
AliasesApiGetAliasesGet /api/v1/get/alias/{id}Get aliases
AliasesApiGetTimeLimitedAliasesGet /api/v1/get/time_limited_aliases/{mailbox}Get time limited aliases
AliasesApiUpdateAliasPost /api/v1/edit/aliasUpdate alias
AppPasswordsApiCreateAppPasswordPost /api/v1/add/app-passwdCreate App Password
AppPasswordsApiDeleteAppPasswordPost /api/v1/delete/app-passwdDelete App Password
AppPasswordsApiGetAppPasswordGet /api/v1/get/app-passwd/all/{mailbox}Get App Password
DKIMApiDeleteDKIMKeyPost /api/v1/delete/dkimDelete DKIM Key
DKIMApiDuplicateDKIMKeyPost /api/v1/add/dkim_duplicateDuplicate DKIM Key
DKIMApiGenerateDKIMKeyPost /api/v1/add/dkimGenerate DKIM Key
DKIMApiGetDKIMKeyGet /api/v1/get/dkim/{domain}Get DKIM Key
DomainAdminApiCreateDomainAdminUserPost /api/v1/add/domain-adminCreate Domain Admin user
DomainAdminApiDeleteDomainAdminPost /api/v1/delete/domain-adminDelete Domain Admin
DomainAdminApiEditDomainAdminACLPost /api/v1/edit/da-aclEdit Domain Admin ACL
DomainAdminApiEditDomainAdminUserPost /api/v1/edit/domain-adminEdit Domain Admin user
DomainAdminApiGetDomainAdminsGet /api/v1/get/domain-admin/allGet Domain Admins
DomainAntispamPoliciesApiCreateDomainPolicyPost /api/v1/add/domain-policyCreate domain policy
DomainAntispamPoliciesApiDeleteDomainPolicyPost /api/v1/delete/domain-policyDelete domain policy
DomainAntispamPoliciesApiListBlacklistDomainPolicyGet /api/v1/get/policy_bl_domain/{domain}List blacklist domain policy
DomainAntispamPoliciesApiListWhitelistDomainPolicyGet /api/v1/get/policy_wl_domain/{domain}List whitelist domain policy
DomainsApiCreateDomainPost /api/v1/add/domainCreate domain
DomainsApiDeleteDomainPost /api/v1/delete/domainDelete domain
DomainsApiDeleteDomainTagsPost /api/v1/delete/domain/tag/{domain}Delete domain tags
DomainsApiGetDomainsGet /api/v1/get/domain/{id}Get domains
DomainsApiUpdateDomainPost /api/v1/edit/domainUpdate domain
Fail2BanApiEditFail2BanPost /api/v1/edit/fail2banEdit Fail2Ban
Fail2BanApiGetFail2BanConfigGet /api/v1/get/fail2banGet Fail2Ban Config
FordwardingHostsApiAddForwardHostPost /api/v1/add/fwdhostAdd Forward Host
FordwardingHostsApiDeleteForwardHostPost /api/v1/delete/fwdhostDelete Forward Host
FordwardingHostsApiGetForwardingHostsGet /api/v1/get/fwdhost/allGet Forwarding Hosts
LogsApiGetACMELogsGet /api/v1/get/logs/acme/{count}Get ACME logs
LogsApiGetApiLogsGet /api/v1/get/logs/api/{count}Get Api logs
LogsApiGetAutodiscoverLogsGet /api/v1/get/logs/autodiscover/{count}Get Autodiscover logs
LogsApiGetDovecotLogsGet /api/v1/get/logs/dovecot/{count}Get Dovecot logs
LogsApiGetNetfilterLogsGet /api/v1/get/logs/netfilter/{count}Get Netfilter logs
LogsApiGetPostfixLogsGet /api/v1/get/logs/postfix/{count}Get Postfix logs
LogsApiGetRatelimitLogsGet /api/v1/get/logs/ratelimited/{count}Get Ratelimit logs
LogsApiGetRspamdLogsGet /api/v1/get/logs/rspamd-history/{count}Get Rspamd logs
LogsApiGetSOGoLogsGet /api/v1/get/logs/sogo/{count}Get SOGo logs
LogsApiGetWatchdogLogsGet /api/v1/get/logs/watchdog/{count}Get Watchdog logs
MailboxesApiCreateMailboxPost /api/v1/add/mailboxCreate mailbox
MailboxesApiDeleteMailboxPost /api/v1/delete/mailboxDelete mailbox
MailboxesApiDeleteMailboxTagsPost /api/v1/delete/mailbox/tag/{mailbox}Delete mailbox tags
MailboxesApiEditMailboxSpamFilterScorePost /api/v1/edit/spam-score/Edit mailbox spam filter score
MailboxesApiGetMailboxesGet /api/v1/get/mailbox/{id}Get mailboxes
MailboxesApiQuarantineNotificationsPost /api/v1/edit/quarantine_notificationQuarantine Notifications
MailboxesApiUpdateMailboxPost /api/v1/edit/mailboxUpdate mailbox
MailboxesApiUpdateMailboxACLPost /api/v1/edit/user-aclUpdate mailbox ACL
MailboxesApiUpdatePushoverSettingsPost /api/v1/edit/pushoverUpdate Pushover settings
OAuthClientsApiCreateOAuthClientPost /api/v1/add/oauth2-clientCreate oAuth Client
OAuthClientsApiDeleteOAuthClientPost /api/v1/delete/oauth2-clientDelete oAuth Client
OAuthClientsApiGetOAuthClientsGet /api/v1/get/oauth2-client/{id}Get oAuth Clients
OutgoingTLSPolicyMapOverridesApiCreateTLSPolicyMapPost /api/v1/add/tls-policy-mapCreate TLS Policy Map
OutgoingTLSPolicyMapOverridesApiDeleteTLSPolicyMapPost /api/v1/delete/tls-policy-mapDelete TLS Policy Map
OutgoingTLSPolicyMapOverridesApiGetTLSPolicyMapGet /api/v1/get/tls-policy-map/{id}Get TLS Policy Map
QuarantineApiDeleteMailsInQuarantinePost /api/v1/delete/qitemDelete mails in Quarantine
QuarantineApiGetMailsInQuarantineGet /api/v1/get/quarantine/allGet mails in Quarantine
QueueManagerApiDeleteQueuePost /api/v1/delete/mailqDelete Queue
QueueManagerApiFlushQueuePost /api/v1/edit/mailqFlush Queue
QueueManagerApiGetQueueGet /api/v1/get/mailq/allGet Queue
RatelimitsApiEditDomainRatelimitsPost /api/v1/edit/rl-domain/Edit domain ratelimits
RatelimitsApiEditMailboxRatelimitsPost /api/v1/edit/rl-mbox/Edit mailbox ratelimits
RatelimitsApiGetDomainRatelimitsGet /api/v1/get/rl-domain/{domain}Get domain ratelimits
RatelimitsApiGetMailboxRatelimitsGet /api/v1/get/rl-mbox/{mailbox}Get mailbox ratelimits
ResourcesApiCreateResourcesPost /api/v1/add/resourceCreate Resources
ResourcesApiDeleteResourcesPost /api/v1/delete/resourceDelete Resources
ResourcesApiGetResourcesGet /api/v1/get/resource/allGet Resources
RoutingApiCreateSenderDependentTransportsPost /api/v1/add/relayhostCreate Sender-Dependent Transports
RoutingApiCreateTransportMapsPost /api/v1/add/transportCreate Transport Maps
RoutingApiDeleteSenderDependentTransportsPost /api/v1/delete/relayhostDelete Sender-Dependent Transports
RoutingApiDeleteTransportMapsPost /api/v1/delete/transportDelete Transport Maps
RoutingApiGetSenderDependentTransportsGet /api/v1/get/relayhost/{id}Get Sender-Dependent Transports
RoutingApiGetTransportMapsGet /api/v1/get/transport/{id}Get Transport Maps
StatusApiGetContainerStatusGet /api/v1/get/status/containersGet container status
StatusApiGetSolrStatusGet /api/v1/get/status/solrGet solr status
StatusApiGetVersionStatusGet /api/v1/get/status/versionGet version status
StatusApiGetVmailStatusGet /api/v1/get/status/vmailGet vmail status
SyncJobsApiCreateSyncJobPost /api/v1/add/syncjobCreate sync job
SyncJobsApiDeleteSyncJobPost /api/v1/delete/syncjobDelete sync job
SyncJobsApiGetSyncJobsGet /api/v1/get/syncjobs/{id}Get sync jobs
SyncJobsApiUpdateSyncJobPost /api/v1/edit/syncjobUpdate sync job

Documentation For Models

Documentation For Authorization

ApiKeyAuth

  • Type: API key
  • API key parameter name: X-API-Key
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-API-Key and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAddForwardHostRequest instantiates a new AddForwardHostRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewAddForwardHostRequestWithDefaults instantiates a new AddForwardHostRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewConfiguration returns a new Configuration object.
NewCreateAlias401Response instantiates a new CreateAlias401Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateAlias401ResponseWithDefaults instantiates a new CreateAlias401Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateAliasRequest instantiates a new CreateAliasRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateAliasRequestWithDefaults instantiates a new CreateAliasRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateAppPasswordRequest instantiates a new CreateAppPasswordRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateAppPasswordRequestWithDefaults instantiates a new CreateAppPasswordRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateBCCMapRequest instantiates a new CreateBCCMapRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateBCCMapRequestWithDefaults instantiates a new CreateBCCMapRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateDomainAdminUserRequest instantiates a new CreateDomainAdminUserRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateDomainAdminUserRequestWithDefaults instantiates a new CreateDomainAdminUserRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateDomainPolicyRequest instantiates a new CreateDomainPolicyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateDomainPolicyRequestWithDefaults instantiates a new CreateDomainPolicyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateDomainRequest instantiates a new CreateDomainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateDomainRequestWithDefaults instantiates a new CreateDomainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateMailboxRequest instantiates a new CreateMailboxRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateMailboxRequestWithDefaults instantiates a new CreateMailboxRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateOAuthClientRequest instantiates a new CreateOAuthClientRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateOAuthClientRequestWithDefaults instantiates a new CreateOAuthClientRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateRecipientMapRequest instantiates a new CreateRecipientMapRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateRecipientMapRequestWithDefaults instantiates a new CreateRecipientMapRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateResourcesRequest instantiates a new CreateResourcesRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateResourcesRequestWithDefaults instantiates a new CreateResourcesRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateSenderDependentTransportsRequest instantiates a new CreateSenderDependentTransportsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateSenderDependentTransportsRequestWithDefaults instantiates a new CreateSenderDependentTransportsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateSyncJobRequest instantiates a new CreateSyncJobRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateSyncJobRequestWithDefaults instantiates a new CreateSyncJobRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateTimeLimitedAlias200Response instantiates a new CreateTimeLimitedAlias200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateTimeLimitedAlias200ResponseWithDefaults instantiates a new CreateTimeLimitedAlias200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateTimeLimitedAliasRequest instantiates a new CreateTimeLimitedAliasRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateTimeLimitedAliasRequestWithDefaults instantiates a new CreateTimeLimitedAliasRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateTLSPolicyMapRequest instantiates a new CreateTLSPolicyMapRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateTLSPolicyMapRequestWithDefaults instantiates a new CreateTLSPolicyMapRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewCreateTransportMapsRequest instantiates a new CreateTransportMapsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewCreateTransportMapsRequestWithDefaults instantiates a new CreateTransportMapsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteAliasRequest instantiates a new DeleteAliasRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteAliasRequestWithDefaults instantiates a new DeleteAliasRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteAppPasswordRequest instantiates a new DeleteAppPasswordRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteAppPasswordRequestWithDefaults instantiates a new DeleteAppPasswordRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteBCCMapRequest instantiates a new DeleteBCCMapRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteBCCMapRequestWithDefaults instantiates a new DeleteBCCMapRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteDKIMKeyRequest instantiates a new DeleteDKIMKeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteDKIMKeyRequestWithDefaults instantiates a new DeleteDKIMKeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteDomainAdminRequest instantiates a new DeleteDomainAdminRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteDomainAdminRequestWithDefaults instantiates a new DeleteDomainAdminRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteDomainPolicyRequest instantiates a new DeleteDomainPolicyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteDomainPolicyRequestWithDefaults instantiates a new DeleteDomainPolicyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteDomainRequest instantiates a new DeleteDomainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteDomainRequestWithDefaults instantiates a new DeleteDomainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteDomainTagsRequest instantiates a new DeleteDomainTagsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteDomainTagsRequestWithDefaults instantiates a new DeleteDomainTagsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteForwardHostRequest instantiates a new DeleteForwardHostRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteForwardHostRequestWithDefaults instantiates a new DeleteForwardHostRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteMailboxRequest instantiates a new DeleteMailboxRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteMailboxRequestWithDefaults instantiates a new DeleteMailboxRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteMailboxTagsRequest instantiates a new DeleteMailboxTagsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteMailboxTagsRequestWithDefaults instantiates a new DeleteMailboxTagsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteMailsInQuarantineRequest instantiates a new DeleteMailsInQuarantineRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteMailsInQuarantineRequestWithDefaults instantiates a new DeleteMailsInQuarantineRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteOAuthClientRequest instantiates a new DeleteOAuthClientRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteOAuthClientRequestWithDefaults instantiates a new DeleteOAuthClientRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteQueueRequest instantiates a new DeleteQueueRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteQueueRequestWithDefaults instantiates a new DeleteQueueRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteRecipientMapRequest instantiates a new DeleteRecipientMapRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteRecipientMapRequestWithDefaults instantiates a new DeleteRecipientMapRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteResourcesRequest instantiates a new DeleteResourcesRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteResourcesRequestWithDefaults instantiates a new DeleteResourcesRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteSenderDependentTransportsRequest instantiates a new DeleteSenderDependentTransportsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteSenderDependentTransportsRequestWithDefaults instantiates a new DeleteSenderDependentTransportsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteSyncJobRequest instantiates a new DeleteSyncJobRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteSyncJobRequestWithDefaults instantiates a new DeleteSyncJobRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteTLSPolicyMapRequest instantiates a new DeleteTLSPolicyMapRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteTLSPolicyMapRequestWithDefaults instantiates a new DeleteTLSPolicyMapRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDeleteTransportMapsRequest instantiates a new DeleteTransportMapsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDeleteTransportMapsRequestWithDefaults instantiates a new DeleteTransportMapsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewDuplicateDKIMKeyRequest instantiates a new DuplicateDKIMKeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewDuplicateDKIMKeyRequestWithDefaults instantiates a new DuplicateDKIMKeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditDomainAdminACLRequest instantiates a new EditDomainAdminACLRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditDomainAdminACLRequestAttr instantiates a new EditDomainAdminACLRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditDomainAdminACLRequestAttrWithDefaults instantiates a new EditDomainAdminACLRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditDomainAdminACLRequestWithDefaults instantiates a new EditDomainAdminACLRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditDomainAdminUser200Response instantiates a new EditDomainAdminUser200Response object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditDomainAdminUser200ResponseWithDefaults instantiates a new EditDomainAdminUser200Response object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditDomainAdminUserRequest instantiates a new EditDomainAdminUserRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditDomainAdminUserRequestAttr instantiates a new EditDomainAdminUserRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditDomainAdminUserRequestAttrWithDefaults instantiates a new EditDomainAdminUserRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditDomainAdminUserRequestWithDefaults instantiates a new EditDomainAdminUserRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditDomainRatelimitsRequest instantiates a new EditDomainRatelimitsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditDomainRatelimitsRequestWithDefaults instantiates a new EditDomainRatelimitsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditFail2BanRequest instantiates a new EditFail2BanRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditFail2BanRequestAttr instantiates a new EditFail2BanRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditFail2BanRequestAttrWithDefaults instantiates a new EditFail2BanRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditFail2BanRequestWithDefaults instantiates a new EditFail2BanRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditMailboxRatelimitsRequest instantiates a new EditMailboxRatelimitsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditMailboxRatelimitsRequestAttr instantiates a new EditMailboxRatelimitsRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewEditMailboxRatelimitsRequestAttrWithDefaults instantiates a new EditMailboxRatelimitsRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewEditMailboxRatelimitsRequestWithDefaults instantiates a new EditMailboxRatelimitsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewFlushQueueRequest instantiates a new FlushQueueRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewFlushQueueRequestWithDefaults instantiates a new FlushQueueRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewGenerateDKIMKeyRequest instantiates a new GenerateDKIMKeyRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewGenerateDKIMKeyRequestWithDefaults instantiates a new GenerateDKIMKeyRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewQuarantineNotificationsRequest instantiates a new QuarantineNotificationsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewQuarantineNotificationsRequestAttr instantiates a new QuarantineNotificationsRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewQuarantineNotificationsRequestAttrWithDefaults instantiates a new QuarantineNotificationsRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewQuarantineNotificationsRequestWithDefaults instantiates a new QuarantineNotificationsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateAliasRequest instantiates a new UpdateAliasRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateAliasRequestAttr instantiates a new UpdateAliasRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateAliasRequestAttrWithDefaults instantiates a new UpdateAliasRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateAliasRequestWithDefaults instantiates a new UpdateAliasRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateDomainRequest instantiates a new UpdateDomainRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateDomainRequestAttr instantiates a new UpdateDomainRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateDomainRequestAttrWithDefaults instantiates a new UpdateDomainRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateDomainRequestWithDefaults instantiates a new UpdateDomainRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateMailboxACLRequest instantiates a new UpdateMailboxACLRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateMailboxACLRequestAttr instantiates a new UpdateMailboxACLRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateMailboxACLRequestAttrWithDefaults instantiates a new UpdateMailboxACLRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateMailboxACLRequestWithDefaults instantiates a new UpdateMailboxACLRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateMailboxRequest instantiates a new UpdateMailboxRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateMailboxRequestAttr instantiates a new UpdateMailboxRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateMailboxRequestAttrWithDefaults instantiates a new UpdateMailboxRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateMailboxRequestWithDefaults instantiates a new UpdateMailboxRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdatePushoverSettingsRequest instantiates a new UpdatePushoverSettingsRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdatePushoverSettingsRequestAttr instantiates a new UpdatePushoverSettingsRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdatePushoverSettingsRequestAttrWithDefaults instantiates a new UpdatePushoverSettingsRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdatePushoverSettingsRequestWithDefaults instantiates a new UpdatePushoverSettingsRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateSyncJobRequest instantiates a new UpdateSyncJobRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateSyncJobRequestAttr instantiates a new UpdateSyncJobRequestAttr object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed.
NewUpdateSyncJobRequestAttrWithDefaults instantiates a new UpdateSyncJobRequestAttr object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
NewUpdateSyncJobRequestWithDefaults instantiates a new UpdateSyncJobRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKeys takes a string apikey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.

# Structs

AddForwardHostRequest struct for AddForwardHostRequest.
No description provided by the author
APIClient manages communication with the mailcow API API v1.0.0 In most cases there should be only one, shared, APIClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
No description provided by the author
APIResponse stores the API response returned by the server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Configuration stores the configuration of the API client.
CreateAlias401Response struct for CreateAlias401Response.
CreateAliasRequest struct for CreateAliasRequest.
CreateAppPasswordRequest struct for CreateAppPasswordRequest.
CreateBCCMapRequest struct for CreateBCCMapRequest.
CreateDomainAdminUserRequest struct for CreateDomainAdminUserRequest.
CreateDomainPolicyRequest struct for CreateDomainPolicyRequest.
CreateDomainRequest struct for CreateDomainRequest.
CreateMailboxRequest struct for CreateMailboxRequest.
CreateOAuthClientRequest struct for CreateOAuthClientRequest.
CreateRecipientMapRequest struct for CreateRecipientMapRequest.
CreateResourcesRequest struct for CreateResourcesRequest.
CreateSenderDependentTransportsRequest struct for CreateSenderDependentTransportsRequest.
CreateSyncJobRequest struct for CreateSyncJobRequest.
CreateTimeLimitedAlias200Response struct for CreateTimeLimitedAlias200Response.
CreateTimeLimitedAliasRequest struct for CreateTimeLimitedAliasRequest.
CreateTLSPolicyMapRequest struct for CreateTLSPolicyMapRequest.
CreateTransportMapsRequest struct for CreateTransportMapsRequest.
DeleteAliasRequest struct for DeleteAliasRequest.
DeleteAppPasswordRequest struct for DeleteAppPasswordRequest.
DeleteBCCMapRequest struct for DeleteBCCMapRequest.
DeleteDKIMKeyRequest struct for DeleteDKIMKeyRequest.
DeleteDomainAdminRequest struct for DeleteDomainAdminRequest.
DeleteDomainPolicyRequest struct for DeleteDomainPolicyRequest.
DeleteDomainRequest struct for DeleteDomainRequest.
DeleteDomainTagsRequest struct for DeleteDomainTagsRequest.
DeleteForwardHostRequest struct for DeleteForwardHostRequest.
DeleteMailboxRequest struct for DeleteMailboxRequest.
DeleteMailboxTagsRequest struct for DeleteMailboxTagsRequest.
DeleteMailsInQuarantineRequest struct for DeleteMailsInQuarantineRequest.
DeleteOAuthClientRequest struct for DeleteOAuthClientRequest.
DeleteQueueRequest struct for DeleteQueueRequest.
DeleteRecipientMapRequest struct for DeleteRecipientMapRequest.
DeleteResourcesRequest struct for DeleteResourcesRequest.
DeleteSenderDependentTransportsRequest struct for DeleteSenderDependentTransportsRequest.
DeleteSyncJobRequest struct for DeleteSyncJobRequest.
DeleteTLSPolicyMapRequest struct for DeleteTLSPolicyMapRequest.
DeleteTransportMapsRequest struct for DeleteTransportMapsRequest.
DuplicateDKIMKeyRequest struct for DuplicateDKIMKeyRequest.
EditDomainAdminACLRequest struct for EditDomainAdminACLRequest.
EditDomainAdminACLRequestAttr struct for EditDomainAdminACLRequestAttr.
EditDomainAdminUser200Response struct for EditDomainAdminUser200Response.
EditDomainAdminUserRequest struct for EditDomainAdminUserRequest.
EditDomainAdminUserRequestAttr struct for EditDomainAdminUserRequestAttr.
EditDomainRatelimitsRequest struct for EditDomainRatelimitsRequest.
EditFail2BanRequest struct for EditFail2BanRequest.
EditFail2BanRequestAttr array containing the fail2ban settings.
EditMailboxRatelimitsRequest struct for EditMailboxRatelimitsRequest.
EditMailboxRatelimitsRequestAttr struct for EditMailboxRatelimitsRequestAttr.
FlushQueueRequest struct for FlushQueueRequest.
GenerateDKIMKeyRequest struct for GenerateDKIMKeyRequest.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QuarantineNotificationsRequest struct for QuarantineNotificationsRequest.
QuarantineNotificationsRequestAttr struct for QuarantineNotificationsRequestAttr.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
UpdateAliasRequest struct for UpdateAliasRequest.
UpdateAliasRequestAttr struct for UpdateAliasRequestAttr.
UpdateDomainRequest struct for UpdateDomainRequest.
UpdateDomainRequestAttr struct for UpdateDomainRequestAttr.
UpdateMailboxACLRequest struct for UpdateMailboxACLRequest.
UpdateMailboxACLRequestAttr struct for UpdateMailboxACLRequestAttr.
UpdateMailboxRequest struct for UpdateMailboxRequest.
UpdateMailboxRequestAttr struct for UpdateMailboxRequestAttr.
UpdatePushoverSettingsRequest struct for UpdatePushoverSettingsRequest.
UpdatePushoverSettingsRequestAttr struct for UpdatePushoverSettingsRequestAttr.
UpdateSyncJobRequest struct for UpdateSyncJobRequest.
UpdateSyncJobRequestAttr struct for UpdateSyncJobRequestAttr.

# Type aliases

AddressRewritingApiService AddressRewritingApi service.
AliasesApiService AliasesApi service.
AppPasswordsApiService AppPasswordsApi service.
DKIMApiService DKIMApi service.
DomainAdminApiService DomainAdminApi service.
DomainAntispamPoliciesApiService DomainAntispamPoliciesApi service.
DomainsApiService DomainsApi service.
Fail2BanApiService Fail2BanApi service.
FordwardingHostsApiService FordwardingHostsApi service.
LogsApiService LogsApi service.
MailboxesApiService MailboxesApi service.
OAuthClientsApiService OAuthClientsApi service.
OutgoingTLSPolicyMapOverridesApiService OutgoingTLSPolicyMapOverridesApi service.
QuarantineApiService QuarantineApi service.
QueueManagerApiService QueueManagerApi service.
RatelimitsApiService RatelimitsApi service.
ResourcesApiService ResourcesApi service.
RoutingApiService RoutingApi service.
ServerConfigurations stores multiple ServerConfiguration items.
StatusApiService StatusApi service.
SyncJobsApiService SyncJobsApi service.