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.Extra
|
2023-02-18 08:52:17 +01:00
|
|
|
|
{
|
|
|
|
|
[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; }
|
|
|
|
|
}
|
|
|
|
|
}
|