2023-01-01 22:50:39 -05:00
|
|
|
|
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!;
|
2023-08-21 10:58:17 -04:00
|
|
|
|
|
2023-01-01 22:50:39 -05:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonSerializable(typeof(Login))]
|
|
|
|
|
[JsonSourceGenerationOptions(
|
|
|
|
|
GenerationMode = JsonSourceGenerationMode.Default,
|
|
|
|
|
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
|
|
|
|
|
WriteIndented = false)]
|
|
|
|
|
internal partial class LoginContext : JsonSerializerContext
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|