package gapi-ocaml

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

    Whether the user can comment on the file.

    *)
  2. canCopy : bool;
    (*

    Whether the user can copy the file.

    *)
  3. canEdit : bool;
    (*

    Whether the user can edit the file's content.

    *)
  4. canReadRevisions : bool;
    (*

    Whether the current user has read access to the Revisions resource of the file.

    *)
  5. canShare : bool;
    (*

    Whether the user can modify the file's permissions and sharing settings.

    *)
}
val canComment : (t, bool) GapiLens.t
val canCopy : (t, bool) GapiLens.t
val canEdit : (t, bool) GapiLens.t
val canReadRevisions : (t, bool) GapiLens.t
val canShare : (t, bool) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t