From 478fc1b0ef855530e1e93c5212d154280f9d7dd8 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Tue, 24 Oct 2023 17:44:03 +0200 Subject: Minor cleanup --- LibMatrix/Responses/UserProfileResponse.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 LibMatrix/Responses/UserProfileResponse.cs (limited to 'LibMatrix/Responses/UserProfileResponse.cs') 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; } +} -- cgit 1.4.1