Iceshrimp.NET/Iceshrimp.Backend/Controllers/Schemas/ValueResponse.cs

8 lines
No EOL
216 B
C#

using J = System.Text.Json.Serialization.JsonPropertyNameAttribute;
namespace Iceshrimp.Backend.Controllers.Schemas;
public class ValueResponse(long count)
{
[J("value")] public long Value { get; set; } = count;
}