make properties that cant be nullable not nullable

This commit is contained in:
axell 2024-07-06 13:47:00 +02:00 committed by GitHub
parent 8f4117cf37
commit 0c24753a1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,10 +12,10 @@
public string JoinDate { get; set; } = null!; public string JoinDate { get; set; } = null!;
[JsonPropertyName("isBanned")] [JsonPropertyName("isBanned")]
public bool IsBanned { get; set; } = null!; public bool IsBanned { get; set; }
[JsonPropertyName("hasVerifiedBadge")] [JsonPropertyName("hasVerifiedBadge")]
public bool HasVerifiedBadge { get; set; } = null!; public bool HasVerifiedBadge { get; set; }
[JsonPropertyName("name")] [JsonPropertyName("name")]
public string Username { get; set; } = null!; public string Username { get; set; } = null!;