package gapi-ocaml

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

    The updated state of the file. Present if the file has not been removed.

    *)
  2. fileId : string;
    (*

    The ID of the file which has changed.

    *)
  3. kind : string;
    (*

    Identifies what kind of resource this is. Value: the fixed string "drive#change".

    *)
  4. removed : bool;
    (*

    Whether the file has been removed from the view of the changes list, for example by deletion or lost access.

    *)
  5. time : GapiDate.t;
    (*

    The time of this change (RFC 3339 date-time).

    *)
}
val file : (t, File.t) GapiLens.t
val fileId : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val removed : (t, bool) GapiLens.t
val time : (t, GapiDate.t) 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