mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 19:21:10 +00:00
Adds the MusicBrainz music metadata plugin, its fixtures, and its unit test suite
This commit is contained in:
1 parent
1ffa14cec4
commit
0abda472c6
101 files changed
+11461
No files matched your search
+23
@@ -0,0 +1,23 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Text.Json.Serialization;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Plugins.MusicBrainz.Common.Models.Contracts.Responses;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a response for a URL from the MusicBrainz API.
|
||||
/// </summary>
|
||||
internal sealed record MusicBrainzUrlResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the MusicBrainz identifier of the URL.
|
||||
/// </summary>
|
||||
[JsonPropertyName("id")]
|
||||
public string? Id { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the resource the URL points to.
|
||||
/// </summary>
|
||||
[JsonPropertyName("resource")]
|
||||
public string? Resource { get; init; }
|
||||
}
|
||||
Reference in new issue
Block a user