mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
31 lines
1.0 KiB
C#
31 lines
1.0 KiB
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 a release group search from the MusicBrainz API.
|
|
/// </summary>
|
|
internal sealed record MusicBrainzReleaseGroupSearchResponse
|
|
{
|
|
/// <summary>
|
|
/// Gets the total number of matching release groups.
|
|
/// </summary>
|
|
[JsonPropertyName("count")]
|
|
public int Count { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets the offset of the returned release groups.
|
|
/// </summary>
|
|
[JsonPropertyName("offset")]
|
|
public int Offset { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets the matching release groups.
|
|
/// </summary>
|
|
[JsonPropertyName("release-groups")]
|
|
public List<MusicBrainzReleaseGroupResponse> ReleaseGroups { get; init; } = [];
|
|
}
|