about summary refs log tree commit diff
path: root/LibMatrix/UserIdAndReason.cs
blob: 5e52303dcd536c42b1039180cb983872f5227382 (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;
}