Entities/Social/UserOverview.cs

A simple data model representing a small overview of a user from the API. It contains Id, Name, a Patron flag, and an optional 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; }
}