about summary refs log tree commit diff
path: root/LibMatrix/UserIdAndReason.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/UserIdAndReason.cs')
-rw-r--r--LibMatrix/UserIdAndReason.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/LibMatrix/UserIdAndReason.cs b/LibMatrix/UserIdAndReason.cs
new file mode 100644
index 0000000..a0c2acd
--- /dev/null
+++ b/LibMatrix/UserIdAndReason.cs
@@ -0,0 +1,10 @@
+using System.Text.Json.Serialization;
+
+namespace LibMatrix;
+
+internal class UserIdAndReason {
+    [JsonPropertyName("user_id")]
+    public string UserId { get; set; }
+    [JsonPropertyName("reason")]
+    public string? Reason { get; set; }
+}