Entities/Game/Variant.cs

A simple data model representing a Lichess chess game variant. It has two public string properties, Key and Name, for the variant identifier and 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; }
}