package gapi-ocaml

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

    The action the reply performed to the parent comment. Valid values are:

    • resolve
    • reopen
    *)
  2. author : User.t;
    (*

    The author of the reply. The author's email address and permission ID will not be populated.

    *)
  3. content : string;
    (*

    The plain text content of the reply. This field is used for setting the content, while htmlContent should be displayed. This is required on creates if no action is specified.

    *)
  4. createdTime : GapiDate.t;
    (*

    The time at which the reply was created (RFC 3339 date-time).

    *)
  5. deleted : bool;
    (*

    Whether the reply has been deleted. A deleted reply has no content.

    *)
  6. htmlContent : string;
    (*

    The content of the reply with HTML formatting.

    *)
  7. id : string;
    (*

    The ID of the reply.

    *)
  8. kind : string;
    (*

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

    *)
  9. modifiedTime : GapiDate.t;
    (*

    The last time the reply was modified (RFC 3339 date-time).

    *)
}
val action : (t, string) GapiLens.t
val author : (t, User.t) GapiLens.t
val content : (t, string) GapiLens.t
val createdTime : (t, GapiDate.t) GapiLens.t
val deleted : (t, bool) GapiLens.t
val htmlContent : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val modifiedTime : (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