package activitypub

  1. Overview
  2. Docs

A pre-implementation of an Types.object_. Dereferencing and casting methods remain to be implemented.

val mutable g : Rdf.Graph.graph option
val mutable id : Activitypub.Types.id
method iri : Iri.t
method g : Rdf.Graph.graph option
method private g_ : Rdf.Graph.graph
method is_empty : bool
method pp : Stdlib.Format.formatter -> unit -> unit
method type_ : Iri.t
method as_id : Iri.t option
method attachment : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] list
method attributed_to : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] option
method audience : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] option
method likes : Activitypub.Types.collection option
method shares : Activitypub.Types.collection option
method content : string option
method content_map : string Activitypub.Smap.t
method name : string option
method name_map : string Activitypub.Smap.t
method end_time : Rdf.Term.datetime option
method generator : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] option
method icon : [ `I of Activitypub.Types.image | `L of Activitypub.Types.link ] list
method image : [ `I of Activitypub.Types.image | `L of Activitypub.Types.link ] list
method in_reply_to : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] list
method preview : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] option
method published : Rdf.Term.datetime option
method replies : Activitypub.Types.collection option
method start_time : Rdf.Term.datetime option
method summary : string option
method summary_map : string Activitypub.Smap.t
method tag : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] list
method updated : Rdf.Term.datetime option
method url : [ `I of Iri.t | `L of Activitypub.Types.link ] list
method to_ : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] list
method bto : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] list
method cc : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] list
method bcc : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] list
method media_type : Ldp.Ct.mime option
method total_items : int

collection methods

method current : [ `I of Iri.t | `L of Activitypub.Types.link ] option
method first : [ `I of Iri.t | `L of Activitypub.Types.link ] option
method last : [ `I of Iri.t | `L of Activitypub.Types.link ] option
method part_of : [ `I of Iri.t | `L of Activitypub.Types.link ] option

collection_page methods

method next : [ `I of Iri.t | `L of Activitypub.Types.link ] option
method prev : [ `I of Iri.t | `L of Activitypub.Types.link ] option
method start_index : int option

ordered_collection_page methods

method actor : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] option

activity methods

method object_ : Activitypub.Types.object_ option
method target : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] option
method origin : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] option
method result : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] option
method instrument : [ `L of Activitypub.Types.link | `O of Activitypub.Types.object_ ] list
method as_object : Activitypub.Types.object_
method as_collection : Activitypub.Types.collection
method as_ordered_collection : Activitypub.Types.ordered_collection
method as_collection_page : Activitypub.Types.collection_page
method as_ordered_collection_page : Activitypub.Types.ordered_collection_page
method as_activity : Activitypub.Types.activity
method private virtual new_object : ?g:Rdf.Graph.graph -> Activitypub.Types.id -> Activitypub.Types.object_
method private virtual new_activity : ?g:Rdf.Graph.graph -> Activitypub.Types.id -> Activitypub.Types.activity
method private virtual new_image : ?g:Rdf.Graph.graph -> Activitypub.Types.id -> Activitypub.Types.image
method private virtual new_collection : ?g:Rdf.Graph.graph -> Activitypub.Types.id -> Activitypub.Types.collection
method private virtual new_ordered_collection : ?g:Rdf.Graph.graph -> Activitypub.Types.id -> Activitypub.Types.ordered_collection
method private virtual new_collection_page : ?g:Rdf.Graph.graph -> Activitypub.Types.id -> Activitypub.Types.collection_page
method private virtual new_ordered_collection_page : ?g:Rdf.Graph.graph -> Activitypub.Types.id -> Activitypub.Types.ordered_collection_page
method virtual dereference : unit Lwt.t
OCaml

Innovation. Community. Security.