mailmigrationv2

package
v0.2.187 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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

type CheckMigrationIsPossibleErrorAlreadyExistingMailAddress

type CheckMigrationIsPossibleErrorAlreadyExistingMailAddress struct {
	Address string `json:"address"`
}

func (*CheckMigrationIsPossibleErrorAlreadyExistingMailAddress) Validate

type CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery

type CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery struct {
	Addresses   []string `json:"addresses"`
	MailboxName string   `json:"mailboxName"`
}

func (*CheckMigrationIsPossibleErrorAmbiguousMailAddressDelivery) Validate

type CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery

type CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery struct {
	Address   string   `json:"address"`
	Mailboxes []string `json:"mailboxes"`
}

func (*CheckMigrationIsPossibleErrorAmbiguousMailboxDelivery) Validate

type CheckMigrationIsPossibleErrorCatchAllMissingAddress

type CheckMigrationIsPossibleErrorCatchAllMissingAddress struct {
	Address string `json:"address"`
}

func (*CheckMigrationIsPossibleErrorCatchAllMissingAddress) Validate

type CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias

type CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias struct {
	Address     string `json:"address"`
	MailboxName string `json:"mailboxName"`
}

func (*CheckMigrationIsPossibleErrorCatchAllTargetWithoutAlias) Validate

type CheckMigrationIsPossibleErrorMissingVerifiedIngress

type CheckMigrationIsPossibleErrorMissingVerifiedIngress struct {
	Hostname string `json:"hostname"`
}

func (*CheckMigrationIsPossibleErrorMissingVerifiedIngress) Validate

type CheckMigrationIsPossibleErrorResponse

type CheckMigrationIsPossibleErrorResponse struct {
	Errors *PossibleCheckErrors `json:"errors,omitempty"`
}

func (*CheckMigrationIsPossibleErrorResponse) Validate

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"`
}

func (*Mailbox) Validate

func (o *Mailbox) Validate() error

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

type MigrateMailboxCommandRequirements

type MigrateMailboxCommandRequirements struct {
	Mailbox   *Mailbox `json:"mailbox,omitempty"`
	ProjectId string   `json:"projectId"`
}

func (*MigrateMailboxCommandRequirements) Validate

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"`
}

func (*Migration) Validate

func (o *Migration) Validate() error

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

type MigrationFinalizeJobProjectSetting

type MigrationFinalizeJobProjectSetting struct {
	BlacklistEntries []string `json:"blacklistEntries"`
	WhitelistEntries []string `json:"whitelistEntries"`
}

func (*MigrationFinalizeJobProjectSetting) Validate

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

type MigrationMailAddressMigrationJobMigrate

type MigrationMailAddressMigrationJobMigrate struct {
	Finished     bool                                  `json:"finished"`
	Requirements MigrateMailAddressCommandRequirements `json:"requirements"`
}

func (*MigrationMailAddressMigrationJobMigrate) Validate

type MigrationMailAddressPreMigrationJob

type MigrationMailAddressPreMigrationJob struct {
	AliasSet           []MigrationMailAddressPreMigrationJobAliasSet          `json:"aliasSet"`
	DeliveryMigrations []MigrationMailAddressPreMigrationJobDeliveryMigration `json:"deliveryMigrations"`
}

func (*MigrationMailAddressPreMigrationJob) Validate

type MigrationMailAddressPreMigrationJobAliasSet

type MigrationMailAddressPreMigrationJobAliasSet struct {
	Finished              bool   `json:"finished"`
	SourceCoabMailboxName string `json:"sourceCoabMailboxName"`
}

func (*MigrationMailAddressPreMigrationJobAliasSet) Validate

type MigrationMailAddressPreMigrationJobDeliveryMigration

type MigrationMailAddressPreMigrationJobDeliveryMigration struct {
	Finished                  bool   `json:"finished"`
	SourceCoabDeliveryMailbox string `json:"sourceCoabDeliveryMailbox"`
	SourceCoabDeliveryUid     int64  `json:"sourceCoabDeliveryUid"`
	TargetDeliveryAddress     string `json:"targetDeliveryAddress"`
}

func (*MigrationMailAddressPreMigrationJobDeliveryMigration) Validate

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL