Entity model representing the opponent in an ongoing game. Holds opponent Id, numeric rating, and username.
#nullable enable annotations
namespace LichessNET.Entities.Game;
/// <summary>
/// All opponent data sent with ongoing games
/// </summary>
public class Opponent
{
public string Id { get; set; }
public int Rating { get; set; }
public string Username { get; set; }
}