Luski.Net/Luski.net/JsonTypes/Login.cs
JacobTech 9f641e7429 Public Servers.
Added a bunch of API calls to use in public servers.
2023-08-21 10:58:17 -04:00

22 lines
518 B
C#
Executable File

using Luski.net.JsonTypes.BaseTypes;
using System.Text.Json.Serialization;
namespace Luski.net.JsonTypes;
internal class Login : IncomingHTTP
{
[JsonPropertyName("login_token")]
public string? Token { get; set; } = default!;
}
[JsonSerializable(typeof(Login))]
[JsonSourceGenerationOptions(
GenerationMode = JsonSourceGenerationMode.Default,
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
WriteIndented = false)]
internal partial class LoginContext : JsonSerializerContext
{
}