35 lines
903 B
C#
35 lines
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; }
|
||
|
|
}
|