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.
17 lines
421 B
17 lines
421 B
1 year ago
|
using System.Text.Json;
|
||
|
using System.Text.Json.Serialization;
|
||
|
|
||
|
namespace StabilityMatrix.Core.Models.Api.CivitTRPC;
|
||
|
|
||
|
public record CivitGetUserByIdRequest : IFormattable
|
||
|
{
|
||
|
[JsonPropertyName("id")]
|
||
|
public required int Id { get; set; }
|
||
|
|
||
|
/// <inheritdoc />
|
||
|
public string ToString(string? format, IFormatProvider? formatProvider)
|
||
|
{
|
||
|
return JsonSerializer.Serialize(new { json = this });
|
||
|
}
|
||
|
}
|