AP.NET/Models/Collection.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

35 lines
No EOL
903 B
C#

namespace ActivityPub;
// https://www.w3.org/ns/activitystreams#Collection
public class Collection : Object {
/// <summary>
/// Default Constructor
/// </summary>
public Collection() : base() => this.Type = "Collection";
/// <summary>
/// https://www.w3.org/ns/activitystreams#totalItems
/// </summary>
public uint? TotalItems { get; set; }
/// <summary>
/// https://www.w3.org/ns/activitystreams#current
/// </summary>
public CollectionPageOrLink? Current { get; set; }
/// <summary>
/// https://www.w3.org/ns/activitystreams#first
/// </summary>
public CollectionPageOrLink? First { get; set; }
/// <summary>
/// https://www.w3.org/ns/activitystreams#last
/// </summary>
public CollectionPageOrLink? Last { get; set; }
/// <summary>
/// https://www.w3.org/ns/activitystreams#items
/// </summary>
public CollectionPageOrLink? Items { get; set; }
}