2026-10-01 08:05:56 +02:00
|
|
|
using System.Text.Json.Serialization;
|
2023-02-19 00:43:43 +01:00
|
|
|
|
|
|
|
|
namespace PrivaPub.ClientModels.User.Avatar
|
|
|
|
|
{
|
|
|
|
|
[JsonSerializable(typeof(ViewAvatar))]
|
|
|
|
|
public class ViewAvatar
|
|
|
|
|
{
|
2026-10-01 08:05:56 +02:00
|
|
|
public string Id { get; set; }
|
|
|
|
|
public string Handle { get; set; }
|
2023-02-19 00:43:43 +01:00
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|