package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. autoExpunge : bool;
    (*

    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.

    *)
  2. enabled : bool;
    (*

    Whether IMAP is enabled for the account.

    *)
  3. expungeBehavior : string;
    (*

    The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.

    *)
  4. maxFolderSize : int;
    (*

    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.

    *)
}
val autoExpunge : (t, bool) GapiLens.t
val enabled : (t, bool) GapiLens.t
val expungeBehavior : (t, string) GapiLens.t
val maxFolderSize : (t, int) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.