#region ========================================================================= USING =====================================================================================
using System.Collections.Generic;
using System.Text.Json.Serialization;
#endregion
namespace Nemera.Plugins.MusicBrainz.Common.Models.Contracts.Responses;
///
/// Represents a response for an area from the MusicBrainz API.
///
internal sealed record MusicBrainzAreaResponse
{
///
/// Gets the MusicBrainz identifier of the area.
///
[JsonPropertyName("id")]
public string? Id { get; init; }
///
/// Gets the name of the area.
///
[JsonPropertyName("name")]
public string? Name { get; init; }
///
/// Gets the sort name of the area.
///
[JsonPropertyName("sort-name")]
public string? SortName { get; init; }
///
/// Gets the disambiguation comment of the area.
///
[JsonPropertyName("disambiguation")]
public string? Disambiguation { get; init; }
///
/// Gets the MusicBrainz type of the area.
///
[JsonPropertyName("type")]
public string? Type { get; init; }
///
/// Gets the ISO 3166-1 codes of the area.
///
[JsonPropertyName("iso-3166-1-codes")]
public List Iso3166Part1Codes { get; init; } = [];
///
/// Gets the ISO 3166-2 codes of the area.
///
[JsonPropertyName("iso-3166-2-codes")]
public List Iso3166Part2Codes { get; init; } = [];
}