This commit is contained in:
thepra committed 2023-02-19 00:43:43 +01:00
1 parent 9719a0c0fd
commit 1e66851113
146 files changed
+738 -382

No files matched your search

@@ -0,0 +1,26 @@
using System.Text.Json.Serialization;
namespace PrivaPub.ClientModels.User.Avatar
{
[JsonSerializable(typeof(ViewAvatar))]
public class ViewAvatar
{
public string Url { get; set; }//url
public string Name { get; set; }//name
public string UserName { get; set; }//preferredUsername
public string Biography { get; set; }//summary
public Dictionary<string, string> Fields { get; set; } = new();
public string PictureURL { get; set; }//icon
public string ThumbnailURL { get; set; }//image
public Dictionary<string, string> SharedPersonalContacts { get; set; } = new();
public ViewAvatarState AccountState { get; set; } = ViewAvatarState.Normal;
public ViewAvatarServer ServerType { get; set; } = ViewAvatarServer.Unknown;
public ViewAvatarSettings Settings { get; set; } = new();
public DateTime UpdatedAt { get; set; }
public DateTime CreatedAt { get; set; }
}
}