SocialPub/PrivaPub/Models/ActivityPub/ActivityPubCollectionPage.cs

19 lines
538 B
C#
Raw Normal View History

2023-02-18 08:52:17 +01:00
using System.Text.Json.Serialization;
2023-02-19 00:43:43 +01:00
namespace PrivaPub.Models.ActivityPub
2023-02-18 08:52:17 +01:00
{
[JsonSerializable(typeof(ActivityPubCollectionPage))]
public class ActivityPubCollectionPage : ActivityPubCollection
{
[JsonPropertyName("type")]
public new ObjectType Type => ObjectType.CollectionPage;
[JsonPropertyName("partOf")]
public string BaseCollectionLink { get; set; }
[JsonPropertyName("next")]
public string NextCollectionLink { get; set; }
[JsonPropertyName("prev")]
public string PreviousCollectionLink { get; set; }
}
}