2020-06-06 00:14:42 -04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Text.Json.Serialization;
|
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")]
|
|
|
|
|
public object[] 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; }
|
|
|
|
|
}
|
|
|
|
|
}
|