33 lines
929 B
C#
33 lines
929 B
C#
namespace Uwaa.Pleroma;
|
|
|
|
public class Account
|
|
{
|
|
/// <summary>
|
|
/// Pleroma uses 128-bit ids as opposed to Mastodon's 64 bits. However just like Mastodon's ids they are lexically sortable strings
|
|
/// </summary>
|
|
[JsonPropertyName("id")]
|
|
public string ID { get; set; } = null!;
|
|
|
|
[JsonPropertyName("bot")]
|
|
public bool Bot { get; set; }
|
|
|
|
[JsonPropertyName("display_name")]
|
|
public string DisplayName { get; set; } = null!;
|
|
|
|
[JsonPropertyName("username")]
|
|
public string Username { get; set; } = null!;
|
|
|
|
[JsonPropertyName("statuses_count")]
|
|
public uint StatusesCount { get; set; }
|
|
|
|
[JsonPropertyName("url")]
|
|
public string URL { get; set; } = null!;
|
|
|
|
[JsonPropertyName("followers_count")]
|
|
public uint Followers { get; set; }
|
|
|
|
[JsonPropertyName("following_count")]
|
|
public uint Following { get; set; }
|
|
|
|
public override string ToString() => $"@{Username}";
|
|
}
|