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

namespace LibMatrix;

internal class UserIdAndReason(string userId = null!, string reason = null!) {
    [JsonPropertyName("user_id")]
    public string UserId { get; set; } = userId;

    [JsonPropertyName("reason")]
    public string? Reason { get; set; } = reason;
}