about summary refs log tree commit diff
path: root/LibMatrix/Responses/UserProfileResponse.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-24 17:44:03 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-24 17:44:03 +0200
commit478fc1b0ef855530e1e93c5212d154280f9d7dd8 (patch)
tree3bb348b939f8d78e85337d49d3163ac5dbc8e8cc /LibMatrix/Responses/UserProfileResponse.cs
parentfix synchelper null check (diff)
downloadLibMatrix-478fc1b0ef855530e1e93c5212d154280f9d7dd8.tar.xz
Minor cleanup
Diffstat (limited to 'LibMatrix/Responses/UserProfileResponse.cs')
-rw-r--r--LibMatrix/Responses/UserProfileResponse.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/LibMatrix/Responses/UserProfileResponse.cs b/LibMatrix/Responses/UserProfileResponse.cs
new file mode 100644
index 0000000..e56e87b
--- /dev/null
+++ b/LibMatrix/Responses/UserProfileResponse.cs
@@ -0,0 +1,12 @@
+using System.Text.Json.Serialization;
+using LibMatrix.Interfaces;
+
+namespace LibMatrix.Responses;
+
+public class UserProfileResponse {
+    [JsonPropertyName("avatar_url")]
+    public string? AvatarUrl { get; set; }
+
+    [JsonPropertyName("displayname")]
+    public string? DisplayName { get; set; }
+}