namespace Uwaa.Pleroma;
///
/// A relationship with another account.
///
public class Relationship
{
///
/// Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings
///
[JsonPropertyName("id")]
public string ID { get; set; } = null!;
[JsonPropertyName("blocked_by")]
public bool BlockedBy { get; set; }
[JsonPropertyName("blocking")]
public bool Blocking { get; set; }
[JsonPropertyName("domain_blocking")]
public bool DomainBlocking { get; set; }
[JsonPropertyName("endorsed")]
public bool Endorsed { get; set; }
[JsonPropertyName("followed_by")]
public bool FollowedBy { get; set; }
[JsonPropertyName("following")]
public bool Following { get; set; }
[JsonPropertyName("muting")]
public bool Muting { get; set; }
[JsonPropertyName("muting_notifications")]
public bool MutingNotifications { get; set; }
[JsonPropertyName("note")]
public string Note { get; set; } = null!;
[JsonPropertyName("notifying")]
public bool Notifying { get; set; }
[JsonPropertyName("requested")]
public bool Requested { get; set; }
[JsonPropertyName("showing_reblogs")]
public bool ShowingReblogs { get; set; }
[JsonPropertyName("subscribing")]
public bool Subscribing { get; set; }
[JsonConstructor()]
internal Relationship()
{
}
}