#region ========================================================================= USING ===================================================================================== using System.Text.Json.Serialization; #endregion namespace Lumina.Plugins.MusicBrainz.Common.Models.Contracts.Responses; /// /// Represents a response for an alias of a MusicBrainz entity. /// internal sealed record MusicBrainzAliasResponse { /// /// Gets the name of the alias. /// [JsonPropertyName("name")] public string? Name { get; init; } /// /// Gets the sort name of the alias. /// [JsonPropertyName("sort-name")] public string? SortName { get; init; } /// /// Gets the type of the alias. /// [JsonPropertyName("type")] public string? Type { get; init; } /// /// Gets the locale the alias is used in. /// [JsonPropertyName("locale")] public string? Locale { get; init; } /// /// Gets a value indicating whether this is the primary alias. /// [JsonPropertyName("primary")] public bool? IsPrimary { get; init; } /// /// Gets the begin date of the alias. /// [JsonPropertyName("begin")] public string? Begin { get; init; } /// /// Gets the end date of the alias. /// [JsonPropertyName("end")] public string? End { get; init; } /// /// Gets a value indicating whether the alias has ended. /// [JsonPropertyName("ended")] public bool? IsEnded { get; init; } }