mirror of
https://onedev.fprog.nl/DiscordClient
synced 2025-12-29 10:18:36 +01:00
Prepared data class for short profile.
This commit is contained in:
parent
6e7ee1c73d
commit
a2cb0f1e3f
53
DiscordClient/Data/ShortProfile.cs
Normal file
53
DiscordClient/Data/ShortProfile.cs
Normal file
|
|
@ -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; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue