GoogleApi.Gmail.V1.Model.ImapSettings (google_api_gmail v0.13.3) View Source

IMAP settings for an account.

Attributes

  • autoExpunge (type: boolean(), default: nil) - If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the client before expunging messages marked as deleted.
  • enabled (type: boolean(), default: nil) - Whether IMAP is enabled for the account.
  • expungeBehavior (type: String.t, default: nil) - The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.
  • maxFolderSize (type: integer(), default: nil) - An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted to mean that there is no limit.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Gmail.V1.Model.ImapSettings{
  autoExpunge: boolean(),
  enabled: boolean(),
  expungeBehavior: String.t(),
  maxFolderSize: integer()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.