package gapi-ocaml

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

    ID of the attached file. Read-only. For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.

    *)
  2. fileUrl : string;
    (*

    URL link to the attachment. For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.

    *)
  3. mimeType : string;
    (*

    Internet media type (MIME type) of the attachment.

    *)
  4. title : string;
    (*

    Attachment title.

    *)
}
val fileId : (t, string) GapiLens.t
val fileUrl : (t, string) GapiLens.t
val mimeType : (t, string) GapiLens.t
val title : (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