From 21da6cde79ccd0cb7f895a29e3d8cab959ef11ba Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 4 Sep 2023 02:17:10 +0200 Subject: Too many changes to name... --- LibMatrix/WhoAmIResponse.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 LibMatrix/WhoAmIResponse.cs (limited to 'LibMatrix/WhoAmIResponse.cs') diff --git a/LibMatrix/WhoAmIResponse.cs b/LibMatrix/WhoAmIResponse.cs new file mode 100644 index 0000000..f461c9b --- /dev/null +++ b/LibMatrix/WhoAmIResponse.cs @@ -0,0 +1,13 @@ +using System.Text.Json.Serialization; + +namespace LibMatrix; + +public class WhoAmIResponse { + [JsonPropertyName("user_id")] + public string UserId { get; set; } = null!; + + [JsonPropertyName("device_id")] + public string? DeviceId { get; set; } + [JsonPropertyName("is_guest")] + public bool? IsGuest { get; set; } +} \ No newline at end of file -- cgit 1.4.1