about summary refs log tree commit diff
path: root/LibMatrix/WhoAmIResponse.cs
blob: e2ea1189b2f60370a4e8bd82c66d2cc91571af45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System.Text.Json.Serialization;

namespace LibMatrix;

public class WhoAmIResponse {
    [JsonPropertyName("user_id")]
    public required string UserId { get; set; }

    [JsonPropertyName("device_id")]
    public string? DeviceId { get; set; }
    [JsonPropertyName("is_guest")]
    public bool? IsGuest { get; set; }
}