20 lines
494 B
C#
20 lines
494 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace PrivaPub.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; }
|
|
}
|
|
}
|