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

namespace LibMatrix.Responses;

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