You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
525 B
20 lines
525 B
using System.Text.Json; |
|
using System.Text.Json.Serialization; |
|
using System.Web; |
|
|
|
namespace StabilityMatrix.Core.Models.Api.CivitTRPC; |
|
|
|
public record CivitUserProfileRequest : IFormattable |
|
{ |
|
[JsonPropertyName("username")] |
|
public required string Username { get; set; } |
|
|
|
[JsonPropertyName("authed")] |
|
public bool Authed { get; set; } |
|
|
|
/// <inheritdoc /> |
|
public string ToString(string? format, IFormatProvider? formatProvider) |
|
{ |
|
return JsonSerializer.Serialize(new { json = this }); |
|
} |
|
}
|
|
|