54 lines
1.5 KiB
C#
54 lines
1.5 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace YandexMusic.API.Models.Passport;
|
|
|
|
public class YSuggestAccount
|
|
{
|
|
[JsonPropertyName("allowed_auth_flows")]
|
|
public List<string> AllowedAuthFlows { get; set; } = new();
|
|
|
|
[JsonPropertyName("avatar_url")]
|
|
public string AvatarUrl { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("default_avatar")]
|
|
public string DefaultAvatar { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("display_name")]
|
|
public YPassportName? DisplayName { get; set; }
|
|
|
|
[JsonPropertyName("has_bank_card")]
|
|
public bool HasBankCard { get; set; }
|
|
|
|
[JsonPropertyName("has_family")]
|
|
public bool HasFamily { get; set; }
|
|
|
|
[JsonPropertyName("has_master")]
|
|
public bool HasMaster { get; set; }
|
|
|
|
[JsonPropertyName("has_plus")]
|
|
public bool HasPlus { get; set; }
|
|
|
|
[JsonPropertyName("is_communal")]
|
|
public bool IsCommunal { get; set; }
|
|
|
|
[JsonPropertyName("location_id")]
|
|
public string LocationId { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("login")]
|
|
public string Login { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("primary_alias_type")]
|
|
public int PrimaryAliasType { get; set; }
|
|
|
|
[JsonPropertyName("priority")]
|
|
public int Priority { get; set; }
|
|
|
|
[JsonPropertyName("uid")]
|
|
public long Uid { get; set; }
|
|
|
|
[JsonPropertyName("shields")]
|
|
public List<string> Shields { get; set; } = new();
|
|
|
|
[JsonPropertyName("require_additional_sms_to_login")]
|
|
public bool RequireAdditionalSmsToLogin { get; set; }
|
|
} |