using System.Text.Json.Serialization;
using YandexMusic.API.Models.Common;

namespace YandexMusic.API.Models.Account;

public class YAccountResult
{
    public YAccount Account { get; set; }

    public string DefaultEmail { get; set; }

    public List<string> HasOptions { get; set; }

    public YMasterHub MasterHub { get; set; }

    public YPermissions Permissions { get; set; }

    public YPlus Plus { get; set; }

    public bool PretrialActive { get; set; }

    public bool SubEditor { get; set; }

    public int SubEditorLevel { get; set; }

    public YSubscription Subscription { get; set; }

    public YBar BarBelow { get; set; }

    [JsonPropertyName("bar-below")]
    private YBar BarBelow2
    {
        set => BarBelow = value;
    }

    public string Userhash { get; set; }
}