This repository has been archived on 2024-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
elliebot/src/EllieBot/Modules/Searches/_common/GatariUserResponse.cs
2024-06-18 23:55:36 +12:00

52 lines
No EOL
1.1 KiB
C#

#nullable disable
using Newtonsoft.Json;
namespace EllieBot.Modules.Searches.Common;
public class UserData
{
[JsonProperty("abbr")]
public object Abbr { get; set; }
[JsonProperty("clanid")]
public object Clanid { get; set; }
[JsonProperty("country")]
public string Country { get; set; }
[JsonProperty("favourite_mode")]
public int FavouriteMode { get; set; }
[JsonProperty("followers_count")]
public int FollowersCount { get; set; }
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("latest_activity")]
public int LatestActivity { get; set; }
[JsonProperty("play_style")]
public int PlayStyle { get; set; }
[JsonProperty("privileges")]
public int Privileges { get; set; }
[JsonProperty("registered_on")]
public int RegisteredOn { get; set; }
[JsonProperty("username")]
public string Username { get; set; }
[JsonProperty("username_aka")]
public string UsernameAka { get; set; }
}
public class GatariUserResponse
{
[JsonProperty("code")]
public int Code { get; set; }
[JsonProperty("users")]
public List<UserData> Users { get; set; }
}