Files
Nemera/plugins/Nemera.Plugins.CoverArtArchive/Common/Models/Contracts/Responses/CoverArtArchiveArtworkResponse.cs
T

19 lines
825 B
C#

#region ========================================================================= USING =====================================================================================
using System.Collections.Generic;
using System.Text.Json.Serialization;
#endregion
namespace Nemera.Plugins.CoverArtArchive.Common.Models.Contracts.Responses;
/// <summary>
/// Represents a response for the artwork of a release or a release group from the Cover Art Archive API.
/// </summary>
internal sealed record CoverArtArchiveArtworkResponse
{
/// <summary>
/// Gets the images of the artwork. It is nullable because the deserializer writes a JSON null over the initializer, and may also contain null elements.
/// </summary>
[JsonPropertyName("images")]
public List<CoverArtArchiveImageResponse?>? Images { get; init; }
}