#region ========================================================================= USING ===================================================================================== using System.Collections.Generic; using System.Text.Json.Serialization; #endregion namespace Lumina.Plugins.MusicBrainz.Common.Models.Contracts.Responses; /// /// Represents a response for a release group search from the MusicBrainz API. /// internal sealed record MusicBrainzReleaseGroupSearchResponse { /// /// Gets the total number of matching release groups. /// [JsonPropertyName("count")] public int Count { get; init; } /// /// Gets the offset of the returned release groups. /// [JsonPropertyName("offset")] public int Offset { get; init; } /// /// Gets the matching release groups. /// [JsonPropertyName("release-groups")] public List ReleaseGroups { get; init; } = []; }