20 lines
495 B
C#
20 lines
495 B
C#
|
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; }
|
|||
|
}
|
|||
|
}
|