82 lines
2.3 KiB
C#
82 lines
2.3 KiB
C#
namespace YandexMusic.API.Models.Account
|
|
{
|
|
public class YShortAccountInfo : YAuthBase
|
|
{
|
|
[JsonProperty("public_id")]
|
|
public string PublicId { get; set; }
|
|
|
|
public string Uid { get; set; }
|
|
|
|
public string FirstName { get; set; }
|
|
|
|
public string LastName { get; set; }
|
|
|
|
public string Birthday { get; set; }
|
|
|
|
[JsonProperty("has_password")]
|
|
public bool HasPassword { get; set; }
|
|
|
|
public List<string> Partitions { get; set; }
|
|
|
|
[JsonProperty("primary_alias_type")]
|
|
public int PrimaryAliasType { get; set; }
|
|
|
|
[JsonProperty("display_name")]
|
|
public string DisplayName { get; set; }
|
|
|
|
[JsonProperty("normalized_display_login")]
|
|
public string NormalizedDisplayLogin { get; set; }
|
|
|
|
[JsonProperty("x_token_issued_at")]
|
|
public int XTokenIssuedAt { get; set; }
|
|
|
|
[JsonProperty("display_login")]
|
|
public string DisplayLogin { get; set; }
|
|
|
|
[JsonProperty("public_name")]
|
|
public string PublicName { get; set; }
|
|
|
|
[JsonProperty("avatar_url")]
|
|
public string AvatarUrl { get; set; }
|
|
|
|
[JsonProperty("native_default_email")]
|
|
public string NativeDefaultEmail { get; set; }
|
|
|
|
[JsonProperty("has_plus")]
|
|
public bool HasPlus { get; set; }
|
|
|
|
[JsonProperty("location_id")]
|
|
public int LocationId { get; set; }
|
|
|
|
[JsonProperty("gender")]
|
|
public string Gender { get; set; }
|
|
|
|
[JsonProperty("is_avatar_empty")]
|
|
public bool IsAvatarEmpty { get; set; }
|
|
|
|
[JsonProperty("machine_readable_login")]
|
|
public string MachineReadableLogin { get; set; }
|
|
|
|
[JsonProperty("has_cards")]
|
|
public bool HasCards { get; set; }
|
|
|
|
[JsonProperty("has_family")]
|
|
public bool HasFamily { get; set; }
|
|
|
|
[JsonProperty("picture_login_forbidden")]
|
|
public bool PictureLoginForbidden { get; set; }
|
|
|
|
[JsonProperty("can_account_join_master")]
|
|
public bool CanAccountJoinMaster { get; set; }
|
|
|
|
[JsonProperty("secure_phone_number")]
|
|
public string SecurePhoneNumber { get; set; }
|
|
|
|
[JsonProperty("x_token_client_id")]
|
|
public string XTokenClientId { get; set; }
|
|
|
|
[JsonProperty("x_token_need_reset")]
|
|
public bool XTokenNeedReset { get; set; }
|
|
}
|
|
}
|