mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
31 lines
987 B
C#
31 lines
987 B
C#
#region ========================================================================= USING =====================================================================================
|
|
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
#endregion
|
|
|
|
namespace Lumina.Plugins.MusicBrainz.Common.Models.Contracts.Responses;
|
|
|
|
/// <summary>
|
|
/// Represents a response for an artist search from the MusicBrainz API.
|
|
/// </summary>
|
|
internal sealed record MusicBrainzArtistSearchResponse
|
|
{
|
|
/// <summary>
|
|
/// Gets the total number of matching artists.
|
|
/// </summary>
|
|
[JsonPropertyName("count")]
|
|
public int Count { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets the offset of the returned artists.
|
|
/// </summary>
|
|
[JsonPropertyName("offset")]
|
|
public int Offset { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets the matching artists.
|
|
/// </summary>
|
|
[JsonPropertyName("artists")]
|
|
public List<MusicBrainzArtistResponse> Artists { get; init; } = [];
|
|
}
|