15 lines
389 B
C#
15 lines
389 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace PrivaPub.Models.ActivityPub
|
|
{
|
|
[JsonSerializable(typeof(ActivityPubTombstone))]
|
|
public class ActivityPubTombstone : ActivityPubObject
|
|
{
|
|
[JsonPropertyName("formerType")]
|
|
public ObjectType FormerType { get; set; } = ObjectType.Unknown;
|
|
|
|
[JsonPropertyName("deleted")]
|
|
public DateTime Deleted { get; set; } = DateTime.UtcNow;
|
|
}
|
|
}
|