google_api_gmail v0.1.0 GoogleApi.Gmail.V1.Model.ImapSettings View Source

IMAP settings for an account.

Attributes

  • autoExpunge (boolean()): 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. Defaults to: null.
  • enabled (boolean()): Whether IMAP is enabled for the account. Defaults to: null.
  • expungeBehavior (String.t): The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder. Defaults to: null.

    • Enum - one of [archive, deleteForever, expungeBehaviorUnspecified, trash]
  • maxFolderSize (integer()): 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. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Gmail.V1.Model.ImapSettings{
  autoExpunge: any(),
  enabled: any(),
  expungeBehavior: any(),
  maxFolderSize: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.