SocialPub/SocialPub/Models/ActivityPub/Extra/ActivityPubIcon.cs

20 lines
495 B
C#
Raw Normal View History

2023-02-18 08:52:17 +01:00
using System.Text.Json.Serialization;
namespace SocialPub.Models.ActivityPub.Extra
{
[JsonSerializable(typeof(ActivityPubPublicKey))]
public class ActivityPubIcon
{
[JsonPropertyName("type")]
public string Type { get; set; }
[JsonPropertyName("name")]
public string Name { get; set; }
[JsonPropertyName("url")]
public string URL { get; set; }
[JsonPropertyName("width")]
public int Width { get; set; }
[JsonPropertyName("height")]
public int Height { get; set; }
}
}