package gapi-ocaml

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

    The user who wrote this reply.

    *)
  2. content : string;
    (*

    The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen).

    *)
  3. createdDate : GapiDate.t;
    (*

    The date when this reply was first created.

    *)
  4. deleted : bool;
    (*

    Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.

    *)
  5. htmlContent : string;
    (*

    HTML formatted content for this reply.

    *)
  6. kind : string;
    (*

    This is always drive#commentReply.

    *)
  7. modifiedDate : GapiDate.t;
    (*

    The date when this reply was last modified.

    *)
  8. replyId : string;
    (*

    The ID of the reply.

    *)
  9. verb : string;
    (*

    The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:

    • "resolve" - To resolve a comment.
    • "reopen" - To reopen (un-resolve) a comment.
    *)
}
val author : (t, User.t) GapiLens.t
val content : (t, string) GapiLens.t
val createdDate : (t, GapiDate.t) GapiLens.t
val deleted : (t, bool) GapiLens.t
val htmlContent : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val modifiedDate : (t, GapiDate.t) GapiLens.t
val replyId : (t, string) GapiLens.t
val verb : (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