Code/Entities/Game/Variant.cs

A simple data model representing a Lichess chess variant. It defines two public string properties, Key and Name, to store the variant identifier and its display name.

#nullable enable annotations

namespace LichessNET.Entities.Game;

/// <summary>
/// Represents a variant of a chess game in Lichess.
/// </summary>
public class Variant
{
    public string Key { get; set; }
    public string Name { get; set; }
}