Code/Entities/Stats/Performance/PerformanceStats.cs

Simple data model class representing a user's performance stats for a specific chess performance type. It holds username, a Perf enum/object, rank, percentile and a Stat object.

#nullable enable annotations

using System.Text.Json.Serialization;

namespace LichessNET.Entities.Account.Performance;

public class PerformanceStats
{
    public string User { get; set; }
    public Perf Perf { get; set; }
    public int Rank { get; set; }
    public double Percentile { get; set; }
    public Stat Stat { get; set; }
}