32 lines
795 B
C#
32 lines
795 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Uwaa.Pleroma;
|
|
|
|
public class Account
|
|
{
|
|
[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}";
|
|
}
|