AP.NET/Models/Activity.cs

17 lines
400 B
C#
Raw Normal View History

namespace ActivityPub;
/// <summary>
/// https://www.w3.org/ns/activitystreams#Activity
/// </summary>
public class Activity : IntransitiveActivity {
/// <summary>
/// Default Constructor
/// </summary>
public Activity() : base() => this.Type = "Activity";
/// <summary>
/// https://www.w3.org/ns/activitystreams#Object
/// </summary>
public ObjectOrLink? Object { get; set; }
}