about summary refs log tree commit diff
path: root/LibMatrix/WhoAmIResponse.cs
blob: f461c9b6de572338a5aa991799e462f1d525a849 (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 string UserId { get; set; } = null!;

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