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