Luski.Net/Luski.net/JsonTypes/OfflineKeyData.cs
JacobTech 2eb1abe526 init
2023-01-01 22:50:39 -05:00

20 lines
517 B
C#
Executable File

using Luski.net.JsonTypes.BaseTypes;
using System.Text.Json.Serialization;
namespace Luski.net.JsonTypes;
internal class OfflineKeyData : IncomingHTTP
{
public KeyExchange[]? keys { get; internal set; } = default!;
}
[JsonSerializable(typeof(OfflineKeyData))]
[JsonSourceGenerationOptions(
GenerationMode = JsonSourceGenerationMode.Default,
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
WriteIndented = false)]
internal partial class OfflineKeyDataContext : JsonSerializerContext
{
}