21 lines
532 B
C#
21 lines
532 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace YandexMusic.API.Models.Passport;
|
|
|
|
public class YPassportUser
|
|
{
|
|
[JsonPropertyName("track_id")]
|
|
public string TrackId { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("state")]
|
|
public string State { get; set; } = string.Empty;
|
|
|
|
[JsonPropertyName("account")]
|
|
public YPassportAccount? Account { get; set; }
|
|
|
|
[JsonPropertyName("error")]
|
|
public string? Error { get; set; }
|
|
|
|
[JsonPropertyName("errors")]
|
|
public List<string>? Errors { get; set; }
|
|
} |