mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
make properties nullable
This commit is contained in:
parent
9397ebe261
commit
e3cfbefc7e
@ -6,21 +6,21 @@
|
|||||||
public class UserInfoResponse
|
public class UserInfoResponse
|
||||||
{
|
{
|
||||||
[JsonPropertyName("description")]
|
[JsonPropertyName("description")]
|
||||||
public string ProfileDescription { get; set; }
|
public string ProfileDescription { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("created")]
|
[JsonPropertyName("created")]
|
||||||
public string JoinDate { get; set; }
|
public string JoinDate { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("isBanned")]
|
[JsonPropertyName("isBanned")]
|
||||||
public bool IsBanned { get; set; }
|
public bool IsBanned { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("hasVerifiedBadge")]
|
[JsonPropertyName("hasVerifiedBadge")]
|
||||||
public bool HasVerifiedBadge { get; set; }
|
public bool HasVerifiedBadge { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("name")]
|
[JsonPropertyName("name")]
|
||||||
public string Username { get; set; }
|
public string Username { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("displayName")]
|
[JsonPropertyName("displayName")]
|
||||||
public string DisplayName { get; set; }
|
public string DisplayName { get; set; } = null!;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user