Entities/Social/UserOverview.cs

A simple data model representing a minimal user overview returned by the API. It declares Id, Name, Patron flag, and an optional Title enumeration.

Networking
#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; }
}