Documentation
¶
Index ¶
- type AutoResponder
- type CheckMigrationIsPossibleErrorActiveMailArchiveForAddress
- type CheckMigrationIsPossibleErrorAlreadyExistingMailAddress
- type CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery
- type CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery
- type CheckMigrationIsPossibleErrorCatchAllMissingAddress
- type CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias
- type CheckMigrationIsPossibleErrorMissingVerifiedIngress
- type CheckMigrationIsPossibleErrorResponse
- type MailSystemSettings
- type Mailbox
- type MigrateMailAddressCommandRequirements
- type MigrateMailboxCommandRequirements
- type Migration
- type MigrationFinalizeJob
- type MigrationFinalizeJobDisableLegacyEntities
- type MigrationFinalizeJobProjectSetting
- type MigrationMailAddress
- type MigrationMailAddressMigrationJob
- type MigrationMailAddressMigrationJobMigrate
- type MigrationMailAddressPreMigrationJob
- type MigrationMailAddressPreMigrationJobAliasSet
- type MigrationMailAddressPreMigrationJobDeliveryMigration
- type MigrationMailbox
- type MigrationMailboxJob
- type MigrationMailboxJobMigrate
- type PossibleCheckErrors
- type SpamProtection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoResponder ¶
type AutoResponder struct {
Active bool `json:"active"`
ExpiresAt *any `json:"expiresAt,omitempty"`
Message string `json:"message"`
StartsAt *any `json:"startsAt,omitempty"`
}
func (*AutoResponder) Validate ¶
func (o *AutoResponder) Validate() error
type CheckMigrationIsPossibleErrorActiveMailArchiveForAddress ¶ added in v0.2.117
type CheckMigrationIsPossibleErrorActiveMailArchiveForAddress struct {
Address string `json:"address"`
}
func (*CheckMigrationIsPossibleErrorActiveMailArchiveForAddress) Validate ¶ added in v0.2.117
func (o *CheckMigrationIsPossibleErrorActiveMailArchiveForAddress) Validate() error
type CheckMigrationIsPossibleErrorAlreadyExistingMailAddress ¶
type CheckMigrationIsPossibleErrorAlreadyExistingMailAddress struct {
Address string `json:"address"`
}
func (*CheckMigrationIsPossibleErrorAlreadyExistingMailAddress) Validate ¶
func (o *CheckMigrationIsPossibleErrorAlreadyExistingMailAddress) Validate() error
type CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery ¶
type CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery struct {
Addresses []string `json:"addresses"`
MailboxName string `json:"mailboxName"`
}
func (*CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery) Validate ¶
func (o *CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery) Validate() error
type CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery ¶
type CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery struct {
Address string `json:"address"`
Mailboxes []string `json:"mailboxes"`
}
func (*CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery) Validate ¶
func (o *CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery) Validate() error
type CheckMigrationIsPossibleErrorCatchAllMissingAddress ¶
type CheckMigrationIsPossibleErrorCatchAllMissingAddress struct {
Address string `json:"address"`
}
func (*CheckMigrationIsPossibleErrorCatchAllMissingAddress) Validate ¶
func (o *CheckMigrationIsPossibleErrorCatchAllMissingAddress) Validate() error
type CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias ¶
type CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias struct {
Address string `json:"address"`
MailboxName string `json:"mailboxName"`
}
func (*CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias) Validate ¶
func (o *CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias) Validate() error
type CheckMigrationIsPossibleErrorMissingVerifiedIngress ¶
type CheckMigrationIsPossibleErrorMissingVerifiedIngress struct {
Hostname string `json:"hostname"`
}
func (*CheckMigrationIsPossibleErrorMissingVerifiedIngress) Validate ¶
func (o *CheckMigrationIsPossibleErrorMissingVerifiedIngress) Validate() error
type CheckMigrationIsPossibleErrorResponse ¶
type CheckMigrationIsPossibleErrorResponse struct {
Errors *PossibleCheckErrors `json:"errors,omitempty"`
}
func (*CheckMigrationIsPossibleErrorResponse) Validate ¶
func (o *CheckMigrationIsPossibleErrorResponse) Validate() error
type MailSystemSettings ¶
type MailSystemSettings struct {
ImapClusterId string `json:"imapClusterId"`
MailDirectory string `json:"mailDirectory"`
RateLimitId string `json:"rateLimitId"`
}
func (*MailSystemSettings) Validate ¶
func (o *MailSystemSettings) Validate() error
type Mailbox ¶
type Mailbox struct {
Mailsystem MailSystemSettings `json:"mailsystem"`
Name string `json:"name"`
QuotaInBytes int64 `json:"quotaInBytes"`
SpamProtection *SpamProtection `json:"spamProtection,omitempty"`
}
type MigrateMailAddressCommandRequirements ¶
type MigrateMailAddressCommandRequirements struct {
Address *string `json:"address,omitempty"`
AutoResponder *AutoResponder `json:"autoResponder,omitempty"`
ForwardAddresses []string `json:"forwardAddresses,omitempty"`
IsCatchAll *bool `json:"isCatchAll,omitempty"`
Mailbox *Mailbox `json:"mailbox,omitempty"`
ProjectId string `json:"projectId"`
}
func (*MigrateMailAddressCommandRequirements) Validate ¶
func (o *MigrateMailAddressCommandRequirements) Validate() error
type MigrateMailboxCommandRequirements ¶
type MigrateMailboxCommandRequirements struct {
Mailbox *Mailbox `json:"mailbox,omitempty"`
ProjectId string `json:"projectId"`
}
func (*MigrateMailboxCommandRequirements) Validate ¶
func (o *MigrateMailboxCommandRequirements) Validate() error
type Migration ¶
type Migration struct {
Aborted bool `json:"aborted"`
Addresses []MigrationMailAddress `json:"addresses"`
Finalizers MigrationFinalizeJob `json:"finalizers"`
Finished bool `json:"finished"`
Id string `json:"id"`
Mailboxes []MigrationMailbox `json:"mailboxes"`
SourceCoabProjectId string `json:"sourceCoabProjectId"`
TargetNexusProjectId string `json:"targetNexusProjectId"`
}
type MigrationFinalizeJob ¶
type MigrationFinalizeJob struct {
DisableLegacyEntities *MigrationFinalizeJobDisableLegacyEntities `json:"disableLegacyEntities,omitempty"`
ProjectSettingMigrations *MigrationFinalizeJobProjectSetting `json:"projectSettingMigrations,omitempty"`
}
func (*MigrationFinalizeJob) Validate ¶
func (o *MigrationFinalizeJob) Validate() error
type MigrationFinalizeJobDisableLegacyEntities ¶
type MigrationFinalizeJobDisableLegacyEntities struct {
Addresses []string `json:"addresses"`
MailboxNames []string `json:"mailboxNames"`
}
func (*MigrationFinalizeJobDisableLegacyEntities) Validate ¶
func (o *MigrationFinalizeJobDisableLegacyEntities) Validate() error
type MigrationFinalizeJobProjectSetting ¶
type MigrationFinalizeJobProjectSetting struct {
BlacklistEntries []string `json:"blacklistEntries"`
WhitelistEntries []string `json:"whitelistEntries"`
}
func (*MigrationFinalizeJobProjectSetting) Validate ¶
func (o *MigrationFinalizeJobProjectSetting) Validate() error
type MigrationMailAddress ¶
type MigrationMailAddress struct {
Address string `json:"address"`
Finished bool `json:"finished"`
Id string `json:"id"`
MigrationJobs MigrationMailAddressMigrationJob `json:"migrationJobs"`
PreMigrationJobs *MigrationMailAddressPreMigrationJob `json:"preMigrationJobs,omitempty"`
}
func (*MigrationMailAddress) Validate ¶
func (o *MigrationMailAddress) Validate() error
type MigrationMailAddressMigrationJob ¶
type MigrationMailAddressMigrationJob struct {
Migrate MigrationMailAddressMigrationJobMigrate `json:"migrate"`
}
func (*MigrationMailAddressMigrationJob) Validate ¶
func (o *MigrationMailAddressMigrationJob) Validate() error
type MigrationMailAddressMigrationJobMigrate ¶
type MigrationMailAddressMigrationJobMigrate struct {
Finished bool `json:"finished"`
Requirements MigrateMailAddressCommandRequirements `json:"requirements"`
}
func (*MigrationMailAddressMigrationJobMigrate) Validate ¶
func (o *MigrationMailAddressMigrationJobMigrate) Validate() error
type MigrationMailAddressPreMigrationJob ¶
type MigrationMailAddressPreMigrationJob struct {
AliasSet []MigrationMailAddressPreMigrationJobAliasSet `json:"aliasSet"`
DeliveryMigrations []MigrationMailAddressPreMigrationJobDeliveryMigration `json:"deliveryMigrations"`
}
func (*MigrationMailAddressPreMigrationJob) Validate ¶
func (o *MigrationMailAddressPreMigrationJob) Validate() error
type MigrationMailAddressPreMigrationJobAliasSet ¶
type MigrationMailAddressPreMigrationJobAliasSet struct {
Finished bool `json:"finished"`
SourceCoabMailboxName string `json:"sourceCoabMailboxName"`
}
func (*MigrationMailAddressPreMigrationJobAliasSet) Validate ¶
func (o *MigrationMailAddressPreMigrationJobAliasSet) Validate() error
type MigrationMailAddressPreMigrationJobDeliveryMigration ¶
type MigrationMailAddressPreMigrationJobDeliveryMigration struct {
Finished bool `json:"finished"`
SourceCoabDeliveryMailbox string `json:"sourceCoabDeliveryMailbox"`
SourceCoabDeliveryUid int64 `json:"sourceCoabDeliveryUid"`
TargetDeliveryAddress string `json:"targetDeliveryAddress"`
}
func (*MigrationMailAddressPreMigrationJobDeliveryMigration) Validate ¶
func (o *MigrationMailAddressPreMigrationJobDeliveryMigration) Validate() error
type MigrationMailbox ¶
type MigrationMailbox struct {
Description *string `json:"description,omitempty"`
Finished bool `json:"finished"`
Id string `json:"id"`
MigrationJobs MigrationMailboxJob `json:"migrationJobs"`
Name string `json:"name"`
}
func (*MigrationMailbox) Validate ¶
func (o *MigrationMailbox) Validate() error
type MigrationMailboxJob ¶
type MigrationMailboxJob struct {
Migrate MigrationMailboxJobMigrate `json:"migrate"`
}
func (*MigrationMailboxJob) Validate ¶
func (o *MigrationMailboxJob) Validate() error
type MigrationMailboxJobMigrate ¶
type MigrationMailboxJobMigrate struct {
Requirements MigrateMailboxCommandRequirements `json:"requirements"`
}
func (*MigrationMailboxJobMigrate) Validate ¶
func (o *MigrationMailboxJobMigrate) Validate() error
type PossibleCheckErrors ¶
type PossibleCheckErrors struct {
ActiveMailArchiveForAddress []CheckMigrationIsPossibleErrorActiveMailArchiveForAddress `json:"activeMailArchiveForAddress"`
AlreadyExistingMailAddress []CheckMigrationIsPossibleErrorAlreadyExistingMailAddress `json:"alreadyExistingMailAddress"`
AmbiguousMailAddressDelivery []CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery `json:"ambiguousMailAddressDelivery"`
AmbiguousMailboxDelivery []CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery `json:"ambiguousMailboxDelivery"`
CatchAllMissingAddress []CheckMigrationIsPossibleErrorCatchAllMissingAddress `json:"catchAllMissingAddress"`
CatchAllTargetWithoutAlias []CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias `json:"catchAllTargetWithoutAlias"`
MissingVerifiedIngress []CheckMigrationIsPossibleErrorMissingVerifiedIngress `json:"missingVerifiedIngress"`
}
func (*PossibleCheckErrors) Validate ¶
func (o *PossibleCheckErrors) Validate() error
type SpamProtection ¶
type SpamProtection struct {
Active bool `json:"active"`
DeleteSensitivity *int64 `json:"deleteSensitivity,omitempty"`
Folder int64 `json:"folder"`
KeepDays int64 `json:"keepDays"`
RelocateSensitivity *int64 `json:"relocateSensitivity,omitempty"`
}
func (*SpamProtection) Validate ¶
func (o *SpamProtection) Validate() error
Source Files
¶
- autoresponder.go
- checkmigrationispossibleerroractivemailarchiveforaddress.go
- checkmigrationispossibleerroralreadyexistingmailaddress.go
- checkmigrationispossibleerrorambiguousmailaddressdelivery.go
- checkmigrationispossibleerrorambiguousmailboxdelivery.go
- checkmigrationispossibleerrorcatchallmissingaddress.go
- checkmigrationispossibleerrorcatchalltargetwithoutalias.go
- checkmigrationispossibleerrormissingverifiedingress.go
- checkmigrationispossibleerrorresponse.go
- mailbox.go
- mailsystemsettings.go
- migratemailaddresscommandrequirements.go
- migratemailboxcommandrequirements.go
- migration.go
- migrationfinalizejob.go
- migrationfinalizejobdisablelegacyentities.go
- migrationfinalizejobprojectsetting.go
- migrationmailaddress.go
- migrationmailaddressmigrationjob.go
- migrationmailaddressmigrationjobmigrate.go
- migrationmailaddresspremigrationjob.go
- migrationmailaddresspremigrationjobaliasset.go
- migrationmailaddresspremigrationjobdeliverymigration.go
- migrationmailbox.go
- migrationmailboxjob.go
- migrationmailboxjobmigrate.go
- possiblecheckerrors.go
- spamprotection.go
Click to show internal directories.
Click to hide internal directories.