Обнновлено до .net10
This commit is contained in:
@@ -1,25 +1,40 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using YandexMusic.API.Models.Common;
|
||||
|
||||
namespace YandexMusic.API.Models.Account
|
||||
namespace YandexMusic.API.Models.Account;
|
||||
|
||||
public class YAccount
|
||||
{
|
||||
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; }
|
||||
[JsonProperty("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; }
|
||||
public string Uid { get; set; }
|
||||
}
|
||||
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; }
|
||||
|
||||
public string Uid { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user