Table of Contents

Class JsonUser

Namespace
NetCord.JsonModels
Assembly
NetCord.dll
public class JsonUser : JsonEntity
Inheritance
JsonUser
Inherited Members

Constructors

JsonUser()

public JsonUser()

Properties

AccentColor

[JsonPropertyName("accent_color")]
public Color? AccentColor { get; set; }

Property Value

Color?

AvatarDecorationData

[JsonPropertyName("avatar_decoration_data")]
public JsonAvatarDecorationData? AvatarDecorationData { get; set; }

Property Value

JsonAvatarDecorationData

AvatarHash

[JsonPropertyName("avatar")]
public string? AvatarHash { get; set; }

Property Value

string

BannerHash

[JsonPropertyName("banner")]
public string? BannerHash { get; set; }

Property Value

string

Discriminator

[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
[JsonPropertyName("discriminator")]
public ushort Discriminator { get; set; }

Property Value

ushort

Email

[JsonPropertyName("email")]
public string? Email { get; set; }

Property Value

string

Flags

[JsonPropertyName("flags")]
public UserFlags? Flags { get; set; }

Property Value

UserFlags?

GlobalName

[JsonPropertyName("global_name")]
public string? GlobalName { get; set; }

Property Value

string

GuildUser

[JsonPropertyName("member")]
public JsonGuildUser? GuildUser { get; set; }

Property Value

JsonGuildUser

IsBot

[JsonPropertyName("bot")]
public bool IsBot { get; set; }

Property Value

bool

IsSystemUser

[JsonPropertyName("system")]
public bool? IsSystemUser { get; set; }

Property Value

bool?

Locale

[JsonPropertyName("locale")]
public string? Locale { get; set; }

Property Value

string

MfaEnabled

[JsonPropertyName("mfa_enabled")]
public bool? MfaEnabled { get; set; }

Property Value

bool?

PremiumType

[JsonPropertyName("premium_type")]
public PremiumType? PremiumType { get; set; }

Property Value

PremiumType?

PublicFlags

[JsonPropertyName("public_flags")]
public UserFlags? PublicFlags { get; set; }

Property Value

UserFlags?

Username

[JsonPropertyName("username")]
public string Username { get; set; }

Property Value

string

Verified

[JsonPropertyName("verified")]
public bool? Verified { get; set; }

Property Value

bool?