Table of Contents

Class ASActivityEntity

Namespace
ActivityPub.Types.AS
Assembly
ActivityPub.Types.dll

An Activity is a subtype of Object that describes some form of action that may happen, is currently happening, or has already happened. The Activity type itself serves as an abstract base type for all types of activities. It is important to note that the Activity type itself does not carry any specific semantics about the kind of action being taken.

public sealed class ASActivityEntity : ASEntity<ASActivity, ASActivityEntity>
Inheritance
ASActivityEntity
Inherited Members

Properties

Actor

Describes one or more entities that either performed or are expected to perform the activity. Any single activity can have multiple actors. The actor MAY be specified using an indirect Link.

[JsonPropertyName("actor")]
public LinkableList<ASObject> Actor { get; set; }

Property Value

LinkableList<ASObject>
See Also

Instrument

Identifies one or more objects used (or to be used) in the completion of an Activity.

[JsonPropertyName("instrument")]
public LinkableList<ASObject> Instrument { get; set; }

Property Value

LinkableList<ASObject>
See Also

Object

Describes the direct object of the activity. For instance, in the activity "John added a movie to his wishlist", the object of the activity is the movie added.

[JsonPropertyName("object")]
public LinkableList<ASObject> Object { get; set; }

Property Value

LinkableList<ASObject>
See Also

Origin

Describes an indirect object of the activity from which the activity is directed. The precise meaning of the origin is the object of the English preposition "from". For instance, in the activity "John moved an item to List B from List A", the origin of the activity is "List A".

[JsonPropertyName("origin")]
public LinkableList<ASObject> Origin { get; set; }

Property Value

LinkableList<ASObject>
See Also

Result

Describes the result of the activity. For instance, if a particular action results in the creation of a new resource, the result property can be used to describe that new resource.

[JsonPropertyName("result")]
public LinkableList<ASObject> Result { get; set; }

Property Value

LinkableList<ASObject>
See Also

Target

Describes the indirect object, or target, of the activity. The precise meaning of the target is largely dependent on the type of action being described but will often be the object of the English preposition "to". For instance, in the activity "John added a movie to his wishlist", the target of the activity is John's wishlist. An activity can have more than one target.

[JsonPropertyName("target")]
public LinkableList<ASObject> Target { get; set; }

Property Value

LinkableList<ASObject>
See Also

See Also