Files
KfChatDotNet/KfChatDotNetGui/Models/ForumIdentityModel.cs
barelyprofessional 9f92fc8e27 Initial commit
2024-03-25 20:11:49 +08:00

20 lines
587 B
C#

using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace KfChatDotNetGui.Models;
public class ForumIdentityModel
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("username")]
public string Username { get; set; }
[JsonProperty("avatar_url")]
public Uri AvatarUrl { get; set; }
// Guessing it'll be the user ID as an int but no idea as this list is empty for me
[JsonProperty("ignored_users")]
public List<string> IgnoredUsers { get; set; }
[JsonProperty("is_staff")]
public bool IsStaff { get; set; }
}