Code/Entities/Social/UserOverview.cs

A simple data model representing a brief user overview returned by the API. It contains the user's Id, display Name, whether they are a Patron, and an optional chess Title enum value.

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