Uwaa/Pleroma/Models/PleromaObject.cs

18 lines
360 B
C#
Raw Normal View History

2024-11-22 09:55:08 +01:00
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!;
}