using System.Text.Json.Serialization;
namespace OliverBooth.Data.Mastodon;
public sealed class MastodonStatus
{
///
/// Gets the content of the status.
///
/// The content.
[JsonPropertyName("content")]
public string Content { get; set; } = string.Empty;
///
/// Gets the date and time at which this status was posted.
///
/// The post timestamp.
[JsonPropertyName("created_at")]
public DateTimeOffset CreatedAt { get; set; }
///
/// Gets the media attachments for this status.
///
/// The media attachments.
[JsonPropertyName("media_attachments")]
public IReadOnlyList MediaAttachments { get; set; } = ArraySegment.Empty;
///
/// Gets the original URI of the status.
///
/// The original URI.
[JsonPropertyName("url")]
public Uri OriginalUri { get; set; } = null!;
}