Code/Entities/Puzzle/PuzzleGame.cs

Simple data model representing a game used to extract a chess puzzle. It has properties for Clock, Id, Perf (a Variant from LichessNET.Entities.Game), PGN, and Rated.

#nullable enable annotations

using LichessNET.Entities.Game;

namespace LichessNET.Entities.Puzzle;

/// <summary>
/// This class represents a game used to extract a puzzle from.
/// </summary>
public class PuzzleGame
{
    public string Clock { get; set; }
    public string Id { get; set; }
    public Variant Perf { get; set; }
    public string PGN { get; set; }
    public bool Rated { get; set; }
}