18 lines
No EOL
360 B
C#
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!;
|
|
} |