starting working on activity

This commit is contained in:
Nicolas Constant
2020-06-06 01:29:13 -04:00
parent e1ef37d504
commit 4875e71340
17 changed files with 329 additions and 5 deletions

View File

@@ -0,0 +1,23 @@
using System;
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace BirdsiteLive.ActivityPub
{
public class Actor
{
//[JsonPropertyName("@context")]
[JsonProperty("@context")]
public object[] context { get; set; } = new[] {"https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1" };
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; }
}
}