42 lines
962 B
C#
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; }
|
|
} |