39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace YandexMusic.API.Models.Passport;
|
|
|
|
public class YCheckAvailabilityResult
|
|
{
|
|
[JsonPropertyName("antifraudScore")]
|
|
public string AntifraudScore { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("hasAvailableAccounts")]
|
|
public bool HasAvailableAccounts { get; set; }
|
|
|
|
[JsonPropertyName("flnFlowRequired")]
|
|
public bool FlnFlowRequired { get; set; }
|
|
|
|
[JsonPropertyName("can_use_push")]
|
|
public bool CanUsePush { get; set; }
|
|
|
|
[JsonPropertyName("can_use_webauthn")]
|
|
public bool CanUseWebauthn { get; set; }
|
|
|
|
[JsonPropertyName("has_master")]
|
|
public bool HasMaster { get; set; }
|
|
|
|
[JsonPropertyName("is_session_mastered")]
|
|
public bool IsSessionMastered { get; set; }
|
|
|
|
[JsonPropertyName("does_master_have_free_slots")]
|
|
public bool DoesMasterHaveFreeSlots { get; set; }
|
|
|
|
[JsonPropertyName("allowed_registration_flows")]
|
|
public List<object> AllowedRegistrationFlows { get; set; } = new();
|
|
|
|
[JsonPropertyName("SuggestBy")]
|
|
public string SuggestBy { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("master_info")]
|
|
public YMasterInfo? MasterInfo { get; set; }
|
|
} |