Entities/Social/MatchUp.cs

A simple data entity representing a matchup between two players. It stores an integer TotalGames and a dictionary mapping string keys to integer scores.

File Access
#nullable enable annotations

namespace LichessNET.Entities.Social;

/// <summary>
/// Represents the matchup between two players, including the total number of games played and their respective scores.
/// </summary>
public class Matchup
{
    /// <summary>
    /// Gets or sets the total number of games played in the matchup between two players.
    /// </summary>
    public int TotalGames { get; set; }

    public Dictionary<string, int> Scores { get; set; }
}