package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Provider : sig ... end
module Object : sig ... end
module Actor : sig ... end
type t = {
  1. access : Acl.t;
    (*

    Identifies who has access to see this activity.

    *)
  2. actor : Actor.t;
    (*

    The person who performed this activity.

    *)
  3. address : string;
    (*

    Street address where this activity occurred.

    *)
  4. annotation : string;
    (*

    Additional content added by the person who shared this activity, applicable only when resharing an activity.

    *)
  5. crosspostSource : string;
    (*

    If this activity is a crosspost from another system, this property specifies the ID of the original activity.

    *)
  6. etag : string;
    (*

    ETag of this response for caching purposes.

    *)
  7. geocode : string;
    (*

    Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated.

    *)
  8. id : string;
    (*

    The ID of this activity.

    *)
  9. kind : string;
    (*

    Identifies this resource as an activity. Value: "plus#activity".

    *)
  10. location : Place.t;
    (*

    The location where this activity occurred.

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

    The object of this activity.

    *)
  12. placeId : string;
    (*

    ID of the place where this activity occurred.

    *)
  13. placeName : string;
    (*

    Name of the place where this activity occurred.

    *)
  14. provider : Provider.t;
    (*

    The service provider that initially published this activity.

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

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

    *)
  16. radius : string;
    (*

    Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode.

    *)
  17. title : string;
    (*

    Title of this activity.

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

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

    *)
  19. url : string;
    (*

    The link to this activity.

    *)
  20. verb : string;
    (*

    This activity's verb, which indicates the action that was performed. Possible values include, but are not limited to, the following values:

    • "post" - Publish content to the stream.
    • "share" - Reshare an activity.
    *)
}
val access : (t, Acl.t) GapiLens.t
val actor : (t, Actor.t) GapiLens.t
val address : (t, string) GapiLens.t
val annotation : (t, string) GapiLens.t
val crosspostSource : (t, string) GapiLens.t
val etag : (t, string) GapiLens.t
val geocode : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val location : (t, Place.t) GapiLens.t
val _object : (t, Object.t) GapiLens.t
val placeId : (t, string) GapiLens.t
val placeName : (t, string) GapiLens.t
val provider : (t, Provider.t) GapiLens.t
val published : (t, GapiDate.t) GapiLens.t
val radius : (t, string) GapiLens.t
val title : (t, string) GapiLens.t
val updated : (t, GapiDate.t) GapiLens.t
val url : (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
OCaml

Innovation. Community. Security.