Luski.Net/Luski.net/JsonTypes/OfflineKeyData.cs

21 lines
565 B
C#
Raw Normal View History

2023-01-01 22:50:39 -05:00
using Luski.net.JsonTypes.BaseTypes;
using System.Text.Json.Serialization;
2024-03-20 23:18:34 -04:00
using Luski.Shared.PublicServers.V1.ServerToClient.HTTP;
2023-01-01 22:50:39 -05:00
namespace Luski.net.JsonTypes;
2024-03-20 23:18:34 -04:00
internal class OfflineKeyData : STC
2023-01-01 22:50:39 -05:00
{
public KeyExchange[]? keys { get; internal set; } = default!;
}
[JsonSerializable(typeof(OfflineKeyData))]
[JsonSourceGenerationOptions(
GenerationMode = JsonSourceGenerationMode.Default,
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
WriteIndented = false)]
internal partial class OfflineKeyDataContext : JsonSerializerContext
{
}