Files
YandexMusic/YandexMusic.API/Models/Account/YAccount.cs
FrigaT 21a0c5abe6
All checks were successful
Release / pack-and-publish (release) Successful in 45s
обновление json parse
2026-04-13 13:55:23 +03:00

42 lines
962 B
C#

using System.Text.Json.Serialization;
using YandexMusic.API.Converters;
using YandexMusic.API.Models.Common;
namespace YandexMusic.API.Models.Account;
public class YAccount
{
public bool Child { get; set; }
public string Birthday { get; set; }
public string DisplayName { get; set; }
public string FirstName { get; set; }
public string FullName { get; set; }
public bool HostedUser { get; set; }
public string Login { get; set; }
public bool NonOwnerFamilyMember { get; set; }
public DateTime Now { get; set; }
[JsonPropertyName("passport-phones")]
public List<YPhone> PassportPhones { get; set; }
public int Region { get; set; }
public string RegionCode { get; set; }
public DateTime RegisteredAt { get; set; }
public string SecondName { get; set; }
public bool ServiceAvailable { get; set; }
[JsonConverter(typeof(IntToStringConverter))]
public string Uid { get; set; }
}