package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Plusoners : sig ... end
module Object : sig ... end
module InReplyTo : sig ... end
module Actor : sig ... end
type t = {
  1. actor : Actor.t;
    (*

    The person who posted this comment.

    *)
  2. etag : string;
    (*

    ETag of this response for caching purposes.

    *)
  3. id : string;
    (*

    The ID of this comment.

    *)
  4. inReplyTo : InReplyTo.t list;
    (*

    The activity this comment replied to.

    *)
  5. kind : string;
    (*

    Identifies this resource as a comment. Value: "plus#comment".

    *)
  6. _object : Object.t;
    (*

    The object of this comment.

    *)
  7. plusoners : Plusoners.t;
    (*

    People who +1'd this comment.

    *)
  8. published : GapiDate.t;
    (*

    The time at which this comment was initially published. Formatted as an RFC 3339 timestamp.

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

    The time at which this comment was last updated. Formatted as an RFC 3339 timestamp.

    *)
  10. verb : string;
    (*

    This comment's verb, indicating what action was performed. Possible values are:

    • "post" - Publish content to the stream.
    *)
}
val actor : (t, Actor.t) GapiLens.t
val etag : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val inReplyTo : (t, InReplyTo.t list) GapiLens.t
val kind : (t, string) GapiLens.t
val _object : (t, Object.t) GapiLens.t
val plusoners : (t, Plusoners.t) GapiLens.t
val published : (t, GapiDate.t) GapiLens.t
val updated : (t, GapiDate.t) 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