Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Changes ¶
type Changes struct { Account jmap.ID `json:"accountId,omitempty"` SinceState string `json:"sinceState,omitempty"` MaxChanges uint64 `json:"maxChanges,omitempty"` }
Get identity changes https://www.rfc-editor.org/rfc/rfc8621.html#section-6.2
type ChangesResponse ¶
type ChangesResponse struct { Account jmap.ID `json:"accountId,omitempty"` OldState string `json:"oldState,omitempty"` NewState string `json:"newState,omitempty"` HasMoreChanges bool `json:"hasMoreChanges,omitempty"` Created []jmap.ID `json:"created,omitempty"` Updated []jmap.ID `json:"updated,omitempty"` Destroyed []jmap.ID `json:"destroyed,omitempty"` }
type Get ¶
type Get struct { Account jmap.ID `json:"accountId,omitempty"` IDs []jmap.ID `json:"ids,omitempty"` Properties []string `json:"properties,omitempty"` ReferenceIDs *jmap.ResultReference `json:"#ids,omitempty"` ReferenceProperties *jmap.ResultReference `json:"#properties,omitempty"` }
Get details identity details https://www.rfc-editor.org/rfc/rfc8621.html#section-6.1
type GetResponse ¶
type Identity ¶
type Identity struct { ID jmap.ID `json:"id,omitempty"` Name string `json:"name,omitempty"` Email string `json:"email,omitempty"` ReplyTo []*mail.Address `json:"replyTo,omitempty"` Bcc []*mail.Address `json:"bcc,omitempty"` TextSignature string `json:"textSignature,omitempty"` HTMLSignature string `json:"htmlSignature,omitempty"` MayDelete bool `json:"mayDelete,omitempty"` }
Information about an email address or domain the user may send from https://www.rfc-editor.org/rfc/rfc8621.html#section-6
type Set ¶
type Set struct { Account jmap.ID `json:"accountId,omitempty"` IfInState string `json:"ifInState,omitempty"` Create map[jmap.ID]*Identity `json:"create,omitempty"` Update map[jmap.ID]jmap.Patch `json:"update,omitempty"` Destroy []jmap.ID `json:"destroy,omitempty"` }
Modify identities https://www.rfc-editor.org/rfc/rfc8621.html#section-6.3
type SetResponse ¶
type SetResponse struct { Account jmap.ID `json:"accountId,omitempty"` OldState string `json:"oldState,omitempty"` NewState string `json:"newState,omitempty"` Created map[jmap.ID]*Identity `json:"created,omitempty"` Updated map[jmap.ID]*Identity `json:"updated,omitempty"` Destroyed []jmap.ID `json:"destroyed,omitempty"` NotCreated map[jmap.ID]*jmap.SetError `json:"notCreated,omitempty"` NotUpdated map[jmap.ID]*jmap.SetError `json:"notUpdated,omitempty"` NotDestroyed map[jmap.ID]*jmap.SetError `json:"notDestroyed,omitempty"` }
Click to show internal directories.
Click to hide internal directories.