Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Copy ¶
type Copy struct {
// The ID of the account to copy blobs from
FromAccount jmap.ID `json:"fromAccountId,omitempty"`
// The ID of the account to copy blobs to
Account jmap.ID `json:"accountId,omitempty"`
// A list of IDs of blobs to copy
IDs []jmap.ID `json:"blobIds,omitempty"`
}
Binary data may be copied between two different accounts using the Blob/copy method rather than having to download and then reupload on the client.
type CopyResponse ¶
type CopyResponse struct {
// The ID of the account blobs were copied from
FromAccount jmap.ID `json:"fromAccountId,omitempty"`
// The ID of the account blobs were copied to
Account jmap.ID `json:"accountId,omitempty"`
// A map of the blobId in the fromAccount to the ID of the blob in the
// account it was copied to. Map is null if no blobs were copied
Copied map[jmap.ID]jmap.ID `json:"blobIds,omitempty"`
// A map of blobId to a SetError object for each blob that failed to be
// copied, or null if none.
NotCopied map[jmap.ID]*jmap.SetError `json:"notCopied,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.