Files
PlaylistShared/PlaylistShared.Shared/Yandex/YandexSearchResult.cs

32 lines
953 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System.Text.Json.Serialization;
namespace PlaylistShared.Shared.Yandex;
/// <summary>Информация о плейлисте из Яндекс.Музыки (для импорта).</summary>
public class YandexSearchResult
{
/// <summary>
/// Найденные треки.
/// </summary>
[JsonPropertyName("tracks")]
public List<YandexTrack>? Tracks { get; set; } = null;
/// <summary>
/// Найденные плейлисты.
/// </summary>
[JsonPropertyName("playlists")]
public List<YandexPlaylist>? Playlists { get; set; } = null;
/// <summary>
/// Найденные исполнители.
/// </summary>
[JsonPropertyName("artists")]
public List<YandexArtist>? Artists { get; set; } = null;
/// <summary>
/// Найденные альбомы.
/// </summary>
[JsonPropertyName("albumns")]
public List<YandexAlbum>? Albums { get; set; } = null;
}