Files
PlaylistShared/PlaylistShared.Shared/Yandex/YandexArtist.cs

24 lines
810 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 YandexArtist
{
/// <summary>Идентификатор исполнителя (id).</summary>
[JsonPropertyName("id")]
public string Id { get; set; } = null!;
/// <summary>Наименование исполнителя.</summary>
[JsonPropertyName("name")]
public string Name { get; set; } = null!;
/// <summary>Описание исполнителя.</summary>
[JsonPropertyName("description")]
public string? Description { get; set; }
/// <summary>URL исполнителя.</summary>
[JsonPropertyName("coverUrl")]
public string? CoverUrl { get; set; }
}