#region ========================================================================= USING ===================================================================================== using System.Text.Json.Serialization; #endregion namespace Nemera.Plugins.MusicBrainz.Common.Models.Contracts.Responses; /// /// Represents a response for a single credit in the artist credit of a MusicBrainz entity. /// internal sealed record MusicBrainzArtistCreditResponse { /// /// Gets the credited name of the artist. /// [JsonPropertyName("name")] public string? Name { get; init; } /// /// Gets the join phrase that follows the credit. /// [JsonPropertyName("joinphrase")] public string? JoinPhrase { get; init; } /// /// Gets the artist the credit refers to. /// [JsonPropertyName("artist")] public MusicBrainzArtistResponse? Artist { get; init; } }