mailv2

package
v0.2.129 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateForwardAddress

type CreateForwardAddress struct {
	Address          string   `json:"address"`
	ForwardAddresses []string `json:"forwardAddresses"`
}

func (*CreateForwardAddress) Validate

func (o *CreateForwardAddress) Validate() error

type CreateMailAddress

type CreateMailAddress struct {
	Address          string                   `json:"address"`
	ForwardAddresses []string                 `json:"forwardAddresses,omitempty"`
	IsCatchAll       bool                     `json:"isCatchAll"`
	Mailbox          CreateMailAddressMailbox `json:"mailbox"`
}

func (*CreateMailAddress) Validate

func (o *CreateMailAddress) Validate() error

type CreateMailAddressMailbox

type CreateMailAddressMailbox struct {
	EnableSpamProtection bool   `json:"enableSpamProtection"`
	Password             string `json:"password"`
	QuotaInBytes         int64  `json:"quotaInBytes"`
}

func (*CreateMailAddressMailbox) Validate

func (o *CreateMailAddressMailbox) Validate() error

type Deliverybox

type Deliverybox struct {
	AuthenticationEnabled bool      `json:"authenticationEnabled"`
	Description           string    `json:"description"`
	Id                    string    `json:"id"`
	Name                  string    `json:"name"`
	PasswordUpdatedAt     time.Time `json:"passwordUpdatedAt"`
	ProjectId             string    `json:"projectId"`
	SendingEnabled        bool      `json:"sendingEnabled"`
	UpdatedAt             time.Time `json:"updatedAt"`
}

func (*Deliverybox) Validate

func (o *Deliverybox) Validate() error

type Error

type Error struct {
	Message string `json:"message"`
	Type    string `json:"type"`
}

func (*Error) Validate

func (o *Error) Validate() error

type MailAddress

type MailAddress struct {
	Address            string                   `json:"address"`
	Archive            MailAddressArchive       `json:"archive"`
	AutoResponder      MailAddressAutoResponder `json:"autoResponder"`
	ForwardAddresses   []string                 `json:"forwardAddresses"`
	Id                 string                   `json:"id"`
	IsArchived         bool                     `json:"isArchived"`
	IsBackupInProgress bool                     `json:"isBackupInProgress"`
	IsCatchAll         bool                     `json:"isCatchAll"`
	Mailbox            *MailAddressMailbox      `json:"mailbox,omitempty"`
	ProjectId          string                   `json:"projectId"`
	ReceivingDisabled  bool                     `json:"receivingDisabled"`
	UpdatedAt          time.Time                `json:"updatedAt"`
}

func (*MailAddress) Validate

func (o *MailAddress) Validate() error

type MailAddressArchive added in v0.2.96

type MailAddressArchive struct {
	Active    bool  `json:"active"`
	Quota     int64 `json:"quota"`
	UsedBytes int64 `json:"usedBytes"`
}

func (*MailAddressArchive) Validate added in v0.2.96

func (o *MailAddressArchive) Validate() error

type MailAddressAutoResponder

type MailAddressAutoResponder struct {
	Active    bool       `json:"active"`
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	Message   *string    `json:"message,omitempty"`
	StartsAt  *time.Time `json:"startsAt,omitempty"`
}

func (*MailAddressAutoResponder) Validate

func (o *MailAddressAutoResponder) Validate() error

type MailAddressBackup added in v0.2.73

type MailAddressBackup struct {
	Name string `json:"name"`
}

func (*MailAddressBackup) Validate added in v0.2.73

func (o *MailAddressBackup) Validate() error

type MailAddressMailbox

type MailAddressMailbox struct {
	Name              string                           `json:"name"`
	PasswordUpdatedAt time.Time                        `json:"passwordUpdatedAt"`
	SendingEnabled    bool                             `json:"sendingEnabled"`
	SpamProtection    MailAddressMailboxSpamProtection `json:"spamProtection"`
	StorageInBytes    MailAddressMailboxStorageInBytes `json:"storageInBytes"`
}

func (*MailAddressMailbox) Validate

func (o *MailAddressMailbox) Validate() error

type MailAddressMailboxSpamProtection

type MailAddressMailboxSpamProtection struct {
	Active                 bool                                   `json:"active"`
	AutoDeleteSpam         bool                                   `json:"autoDeleteSpam"`
	Folder                 MailAddressMailboxSpamProtectionFolder `json:"folder"`
	RelocationMinSpamScore int64                                  `json:"relocationMinSpamScore"`
}

func (*MailAddressMailboxSpamProtection) Validate

type MailAddressMailboxSpamProtectionFolder

type MailAddressMailboxSpamProtectionFolder string
const MailAddressMailboxSpamProtectionFolderInbox MailAddressMailboxSpamProtectionFolder = "inbox"
const MailAddressMailboxSpamProtectionFolderSpam MailAddressMailboxSpamProtectionFolder = "spam"

func (MailAddressMailboxSpamProtectionFolder) Validate

type MailAddressMailboxStorageInBytes

type MailAddressMailboxStorageInBytes struct {
	Current MailAddressMailboxStorageInBytesCurrent `json:"current"`
	Limit   int64                                   `json:"limit"`
}

func (*MailAddressMailboxStorageInBytes) Validate

type MailAddressMailboxStorageInBytesCurrent

type MailAddressMailboxStorageInBytesCurrent struct {
	UpdatedAt time.Time `json:"updatedAt"`
	Value     int64     `json:"value"`
}

func (*MailAddressMailboxStorageInBytesCurrent) 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

Jump to

Keyboard shortcuts

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