about summary refs log tree commit diff
path: root/LibMatrix/WhoAmIResponse.cs
blob: 10fff35ff9dc8ab1e7444bb3a0c06c55054d68d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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; }
}