package gapi-ocaml

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

    If this activity's object is itself another activity, such as when a person reshares an activity, this property specifies the original activity's actor.

    *)
  2. attachments : Attachments.t list;
    (*

    The media objects attached to this activity.

    *)
  3. content : string;
    (*

    The HTML-formatted content, which is suitable for display.

    *)
  4. id : string;
    (*

    The ID of the object. When resharing an activity, this is the ID of the activity that is being reshared.

    *)
  5. objectType : string;
    (*

    The type of the object. Possible values include, but are not limited to, the following values:

    • "note" - Textual content.
    • "activity" - A Google+ activity.
    *)
  6. originalContent : string;
    (*

    The content (text) as provided by the author, which is stored without any HTML formatting. When creating or updating an activity, this value must be supplied as plain text in the request.

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

    People who +1'd this activity.

    *)
  8. replies : Replies.t;
    (*

    Comments in reply to this activity.

    *)
  9. resharers : Resharers.t;
    (*

    People who reshared this activity.

    *)
  10. url : string;
    (*

    The URL that points to the linked resource.

    *)
}
val actor : (t, Actor.t) GapiLens.t
val attachments : (t, Attachments.t list) GapiLens.t
val content : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val objectType : (t, string) GapiLens.t
val originalContent : (t, string) GapiLens.t
val plusoners : (t, Plusoners.t) GapiLens.t
val replies : (t, Replies.t) GapiLens.t
val resharers : (t, Resharers.t) GapiLens.t
val url : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.