cloutier--bird.makeup/src/BirdsiteLive.ActivityPub/Models/Actor.cs

26 lines
904 B
C#
Raw Normal View History

2020-07-22 19:49:08 -04:00
using System.Net;
using BirdsiteLive.ActivityPub.Converters;
2020-06-06 01:29:13 -04:00
using Newtonsoft.Json;
2020-06-06 00:14:42 -04:00
namespace BirdsiteLive.ActivityPub
{
public class Actor
{
2020-06-06 01:29:13 -04:00
//[JsonPropertyName("@context")]
[JsonProperty("@context")]
2020-06-10 20:40:25 -04:00
[JsonConverter(typeof(ContextArrayConverter))]
public string[] context { get; set; } = new[] { "https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1" };
2020-06-06 00:14:42 -04:00
public string id { get; set; }
public string type { get; set; }
public string preferredUsername { get; set; }
public string name { get; set; }
public string summary { get; set; }
public string url { get; set; }
public string inbox { get; set; }
public PublicKey publicKey { get; set; }
public Image icon { get; set; }
public Image image { get; set; }
2020-07-22 19:49:08 -04:00
public EndPoints endpoints { get; set; }
2020-06-06 00:14:42 -04:00
}
}