Code/Entities/Social/UserOverview.cs

A simple POCO representing a small overview of a user from the Lichess API. It stores Id, Name, Patron flag, and an optional chess Title enumeration.

#nullable enable annotations

using LichessNET.Entities.Enumerations;

namespace LichessNET.Entities.Social;

/// <summary>
/// A small overview of a user sent by the API.
/// </summary>
public class UserOverview
{
    public string Id { get; set; }
    public string Name { get; set; }
    public bool Patron { get; set; }

    public Title? Title { get; set; }
}