12 lines
427 B
C#
12 lines
427 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace WebDrop.Core;
|
|
|
|
public sealed class AccountProfile
|
|
{
|
|
[JsonPropertyName("username")] public required string Username { get; init; }
|
|
[JsonPropertyName("displayName")] public required string DisplayName { get; init; }
|
|
[JsonPropertyName("avatar")] public string? Avatar { get; init; }
|
|
[JsonPropertyName("modifiedAt")] public required long ModifiedAt { get; init; }
|
|
}
|