Documentation
¶
Index ¶
- type CreateForwardAddress
- type CreateMailAddress
- type CreateMailAddressMailbox
- type Deliverybox
- type Error
- type MailAddress
- type MailAddressArchive
- type MailAddressAutoResponder
- type MailAddressBackup
- type MailAddressMailbox
- type MailAddressMailboxSpamProtection
- type MailAddressMailboxSpamProtectionFolder
- type MailAddressMailboxStorageInBytes
- type MailAddressMailboxStorageInBytesCurrent
- type MailsystemSettings
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 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 ¶
func (o *MailAddressMailboxSpamProtection) Validate() error
type MailAddressMailboxSpamProtectionFolder ¶
type MailAddressMailboxSpamProtectionFolder string
const MailAddressMailboxSpamProtectionFolderInbox MailAddressMailboxSpamProtectionFolder = "inbox"
const MailAddressMailboxSpamProtectionFolderSpam MailAddressMailboxSpamProtectionFolder = "spam"
func (MailAddressMailboxSpamProtectionFolder) Validate ¶
func (e MailAddressMailboxSpamProtectionFolder) Validate() error
type MailAddressMailboxStorageInBytes ¶
type MailAddressMailboxStorageInBytes struct {
Current MailAddressMailboxStorageInBytesCurrent `json:"current"`
Limit int64 `json:"limit"`
}
func (*MailAddressMailboxStorageInBytes) Validate ¶
func (o *MailAddressMailboxStorageInBytes) Validate() error
type MailAddressMailboxStorageInBytesCurrent ¶
type MailAddressMailboxStorageInBytesCurrent struct {
UpdatedAt time.Time `json:"updatedAt"`
Value int64 `json:"value"`
}
func (*MailAddressMailboxStorageInBytesCurrent) Validate ¶
func (o *MailAddressMailboxStorageInBytesCurrent) 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
Source Files
¶
- createforwardaddress.go
- createmailaddress.go
- createmailaddress_mailbox.go
- deliverybox.go
- error.go
- mailaddress.go
- mailaddress_archive.go
- mailaddress_autoresponder.go
- mailaddress_mailbox.go
- mailaddress_mailbox_spamprotection.go
- mailaddress_mailbox_spamprotection_folder.go
- mailaddress_mailbox_storageinbytes.go
- mailaddress_mailbox_storageinbytes_current.go
- mailaddressbackup.go
- mailsystemsettings.go
Click to show internal directories.
Click to hide internal directories.