package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Activity.ObjectSource

Sourcemodule Resharers : sig ... end
Sourcemodule Replies : sig ... end
Sourcemodule Plusoners : sig ... end
Sourcemodule Attachments : sig ... end
Sourcemodule Actor : sig ... end
Sourcetype 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.

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