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