Обнновлено до .net10
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
namespace YandexMusic.API.Models.Account
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace YandexMusic.API.Models.Account
|
||||
{
|
||||
public class YShortAccountInfo : YAuthBase
|
||||
{
|
||||
[JsonProperty("public_id")]
|
||||
[JsonPropertyName("public_id")]
|
||||
public string PublicId { get; set; }
|
||||
|
||||
public string Uid { get; set; }
|
||||
@@ -13,69 +15,69 @@
|
||||
|
||||
public string Birthday { get; set; }
|
||||
|
||||
[JsonProperty("has_password")]
|
||||
[JsonPropertyName("has_password")]
|
||||
public bool HasPassword { get; set; }
|
||||
|
||||
public List<string> Partitions { get; set; }
|
||||
|
||||
[JsonProperty("primary_alias_type")]
|
||||
[JsonPropertyName("primary_alias_type")]
|
||||
public int PrimaryAliasType { get; set; }
|
||||
|
||||
[JsonProperty("display_name")]
|
||||
[JsonPropertyName("display_name")]
|
||||
public string DisplayName { get; set; }
|
||||
|
||||
[JsonProperty("normalized_display_login")]
|
||||
[JsonPropertyName("normalized_display_login")]
|
||||
public string NormalizedDisplayLogin { get; set; }
|
||||
|
||||
[JsonProperty("x_token_issued_at")]
|
||||
[JsonPropertyName("x_token_issued_at")]
|
||||
public int XTokenIssuedAt { get; set; }
|
||||
|
||||
[JsonProperty("display_login")]
|
||||
[JsonPropertyName("display_login")]
|
||||
public string DisplayLogin { get; set; }
|
||||
|
||||
[JsonProperty("public_name")]
|
||||
[JsonPropertyName("public_name")]
|
||||
public string PublicName { get; set; }
|
||||
|
||||
[JsonProperty("avatar_url")]
|
||||
[JsonPropertyName("avatar_url")]
|
||||
public string AvatarUrl { get; set; }
|
||||
|
||||
[JsonProperty("native_default_email")]
|
||||
[JsonPropertyName("native_default_email")]
|
||||
public string NativeDefaultEmail { get; set; }
|
||||
|
||||
[JsonProperty("has_plus")]
|
||||
[JsonPropertyName("has_plus")]
|
||||
public bool HasPlus { get; set; }
|
||||
|
||||
[JsonProperty("location_id")]
|
||||
[JsonPropertyName("location_id")]
|
||||
public int LocationId { get; set; }
|
||||
|
||||
[JsonProperty("gender")]
|
||||
[JsonPropertyName("gender")]
|
||||
public string Gender { get; set; }
|
||||
|
||||
[JsonProperty("is_avatar_empty")]
|
||||
[JsonPropertyName("is_avatar_empty")]
|
||||
public bool IsAvatarEmpty { get; set; }
|
||||
|
||||
[JsonProperty("machine_readable_login")]
|
||||
[JsonPropertyName("machine_readable_login")]
|
||||
public string MachineReadableLogin { get; set; }
|
||||
|
||||
[JsonProperty("has_cards")]
|
||||
[JsonPropertyName("has_cards")]
|
||||
public bool HasCards { get; set; }
|
||||
|
||||
[JsonProperty("has_family")]
|
||||
[JsonPropertyName("has_family")]
|
||||
public bool HasFamily { get; set; }
|
||||
|
||||
[JsonProperty("picture_login_forbidden")]
|
||||
[JsonPropertyName("picture_login_forbidden")]
|
||||
public bool PictureLoginForbidden { get; set; }
|
||||
|
||||
[JsonProperty("can_account_join_master")]
|
||||
[JsonPropertyName("can_account_join_master")]
|
||||
public bool CanAccountJoinMaster { get; set; }
|
||||
|
||||
[JsonProperty("secure_phone_number")]
|
||||
[JsonPropertyName("secure_phone_number")]
|
||||
public string SecurePhoneNumber { get; set; }
|
||||
|
||||
[JsonProperty("x_token_client_id")]
|
||||
[JsonPropertyName("x_token_client_id")]
|
||||
public string XTokenClientId { get; set; }
|
||||
|
||||
[JsonProperty("x_token_need_reset")]
|
||||
[JsonPropertyName("x_token_need_reset")]
|
||||
public bool XTokenNeedReset { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user