AP.NET/Models/Actor.cs
Gordon Pedersen 7c84fbc4c5 Initial commit way too late
There's a lot of rubbish in here, but I don't want to lose anything, so I'm going to commit it all before getting rid of some of the trash.
2024-04-05 15:26:57 +11:00

21 lines
658 B
C#

namespace ActivityPub;
/// <summary>
/// https://www.w3.org/TR/activitypub/#actor-objects
/// </summary>
public class Actor : Object {
/// <summary>
/// Default Constructor
/// </summary>
public Actor() : base() => this.Type = "Actor";
public CollectionOrLink Inbox { get; set; }
public CollectionOrLink Outbox { get; set; }
public CollectionOrLink Following { get; set; }
public CollectionOrLink Followers { get; set; }
public CollectionOrLink Liked { get; set; }
public ListOrLink<Collection>? Streams { get; set; }
public string? PreferredUsername { get; set; }
public OneOf.OneOf<Uri, Endpoints>? Endpoints { get; set; }
}