Uwaa/Pleroma/Models/PleromaObject.cs
2024-11-22 08:55:08 +00:00

18 lines
No EOL
360 B
C#

using System.Text.Json.Serialization;
namespace Uwaa.Pleroma;
public class PleromaObject
{
[JsonPropertyName("content")]
public Content Content { get; set; } = null!;
[JsonPropertyName("local")]
public bool Local { get; set; }
}
public class Content
{
[JsonPropertyName("text/plain")]
public string Plain { get; set; } = null!;
}