Luski.Net/Luski.net/JsonTypes/StatusUpdate.cs

18 lines
424 B
C#
Raw Permalink Normal View History

2024-03-20 23:18:34 -04:00
using System.Text.Json.Serialization;
using Luski.Shared.PublicServers.V1.Enums;
2023-01-01 22:50:39 -05:00
namespace Luski.net.JsonTypes;
internal class StatusUpdate
{
[JsonInclude]
[JsonPropertyName("id")]
public long id { get; set; } = default!;
[JsonInclude]
[JsonPropertyName("before")]
public UserStatus before { get; set; } = default!;
[JsonInclude]
[JsonPropertyName("after")]
public UserStatus after { get; set; } = default!;
}