package gapi-ocaml

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

    Whether the response should exclude chats.

    *)
  2. from : string;
    (*

    The sender's display name or email address.

    *)
  3. hasAttachment : bool;
    (*

    Whether the message has any attachment.

    *)
  4. negatedQuery : string;
    (*

    Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".

    *)
  5. query : string;
    (*

    Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".

    *)
  6. size : int;
    (*

    The size of the entire RFC822 message in bytes, including all headers and attachments.

    *)
  7. sizeComparison : string;
    (*

    How the message size in bytes should be in relation to the size field.

    *)
  8. subject : string;
    (*

    Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.

    *)
  9. _to : string;
    (*

    The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive.

    *)
}
val excludeChats : (t, bool) GapiLens.t
val from : (t, string) GapiLens.t
val hasAttachment : (t, bool) GapiLens.t
val negatedQuery : (t, string) GapiLens.t
val query : (t, string) GapiLens.t
val size : (t, int) GapiLens.t
val sizeComparison : (t, string) GapiLens.t
val subject : (t, string) GapiLens.t
val _to : (t, string) 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.