Files
PlaylistShared/PlaylistShared.Shared/Yandex/YandexAlbum.cs

28 lines
948 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 YandexAlbum
{
/// <summary>Идентификатор альбома (id).</summary>
[JsonPropertyName("id")]
public string Id { get; set; } = null!;
/// <summary>Наименование альбома.</summary>
[JsonPropertyName("title")]
public string Title { get; set; } = null!;
/// <summary>Исполнители альбома.</summary>
[JsonPropertyName("artists")]
public List<YandexArtist> Artists { get; set; } = null!;
/// <summary>Описание альбома.</summary>
[JsonPropertyName("description")]
public string? Description { get; set; }
/// <summary>URL обложки альбома.</summary>
[JsonPropertyName("coverUrl")]
public string? CoverUrl { get; set; }
}