about summary refs log tree commit diff
path: root/LibMatrix/Responses/UserIdAndReason.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/Responses/UserIdAndReason.cs')
-rw-r--r--LibMatrix/Responses/UserIdAndReason.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/LibMatrix/Responses/UserIdAndReason.cs b/LibMatrix/Responses/UserIdAndReason.cs
new file mode 100644

index 0000000..176cf7c --- /dev/null +++ b/LibMatrix/Responses/UserIdAndReason.cs
@@ -0,0 +1,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; +} \ No newline at end of file