diff --git a/DiscordClient/Data/ShortProfile.cs b/DiscordClient/Data/ShortProfile.cs new file mode 100644 index 0000000..cffe9fd --- /dev/null +++ b/DiscordClient/Data/ShortProfile.cs @@ -0,0 +1,53 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.Json.Serialization; +using System.Threading.Tasks; + +namespace DiscordClient.Data +{ + public class ShortProfile + { + [JsonPropertyName("id")] + public string Id { get; set; } + + [JsonPropertyName("username")] + public string Username { get; set; } + + [JsonPropertyName("avatar")] + public string Avatar { get; set; } + + [JsonPropertyName("discriminator")] + public string Discriminator { get; set; } + + [JsonPropertyName("public_flags")] + public long PublicFlags { get; set; } + + [JsonPropertyName("flags")] + public long Flags { get; set; } + + [JsonPropertyName("global_name")] + public string GlobalName { get; set; } + + [JsonPropertyName("mfa_enabled")] + public bool MfaEnabled { get; set; } + + [JsonPropertyName("locale")] + public string Locale { get; set; } + + [JsonPropertyName("premium_type")] + public long PremiumType { get; set; } + + [JsonPropertyName("email")] + public string Email { get; set; } + + [JsonPropertyName("verified")] + public bool Verified { get; set; } + + [JsonPropertyName("nsfw_allowed")] + public bool NsfwAllowed { get; set; } + + [JsonPropertyName("bio")] + public string Bio { get; set; } + } +}