Gordon Pedersen
7c84fbc4c5
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.
35 lines
No EOL
903 B
C#
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; }
|
|
} |