37 lines
1.0 KiB
C#
37 lines
1.0 KiB
C#
using System.Text.Json.Serialization;
|
|
using YandexMusic.API.Models.Account;
|
|
|
|
namespace YandexMusic.API.Models.Passport;
|
|
|
|
public class YValidatePhoneNumberResult
|
|
{
|
|
[JsonPropertyName("phone_number")]
|
|
public YPhoneNumber? PhoneNumber { get; set; }
|
|
|
|
[JsonPropertyName("valid_for_flash_call")]
|
|
public bool ValidForFlashCall { get; set; }
|
|
|
|
[JsonPropertyName("location_id")]
|
|
public string LocationId { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("valid_for_viber")]
|
|
public bool ValidForViber { get; set; }
|
|
|
|
[JsonPropertyName("valid_for_whatsapp")]
|
|
public bool ValidForWhatsapp { get; set; }
|
|
|
|
[JsonPropertyName("valid_for_telegram")]
|
|
public bool ValidForTelegram { get; set; }
|
|
|
|
[JsonPropertyName("valid_for_sms")]
|
|
public bool ValidForSms { get; set; }
|
|
|
|
[JsonPropertyName("track_id")]
|
|
public string TrackId { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("error")]
|
|
public string? Error { get; set; }
|
|
|
|
[JsonPropertyName("errors")]
|
|
public List<string>? Errors { get; set; }
|
|
} |