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

namespace LibMatrix.Responses;

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; }
}