Code/Entities/Account/AccountPreferences.cs

A simple POCO representing a user's account preferences for Lichess, containing a Preferences object and a Language string.

#nullable enable annotations

namespace LichessNET.Entities.Account;

/// <summary>
///     Represents the account preferences of a user on Lichess.
/// </summary>
public class AccountPreferences
{
    public Preferences Prefs { get; set; }
    public string Language { get; set; }
}