using System.Text.Json.Serialization;
using OliverBooth.Common.Data.Mastodon;
namespace OliverBooth.Data.Mastodon;
///
internal sealed class MastodonStatus : IMastodonStatus
{
///
[JsonPropertyName("content")]
public string Content { get; set; } = string.Empty;
///
[JsonPropertyName("created_at")]
public DateTimeOffset CreatedAt { get; set; }
///
[JsonPropertyName("media_attachments")]
public IReadOnlyList MediaAttachments { get; set; } = ArraySegment.Empty;
///
[JsonPropertyName("url")]
public Uri OriginalUri { get; set; } = null!;
}