mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
24 lines
757 B
C#
24 lines
757 B
C#
#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; }
|
|
}
|