mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
24 lines
791 B
C#
24 lines
791 B
C#
#region ========================================================================= USING =====================================================================================
|
|
using System.Text.Json.Serialization;
|
|
#endregion
|
|
|
|
namespace Lumina.Plugins.MusicBrainz.Common.Models.Contracts.Responses;
|
|
|
|
/// <summary>
|
|
/// Represents a response for the aggregated rating of a MusicBrainz entity.
|
|
/// </summary>
|
|
internal sealed record MusicBrainzRatingResponse
|
|
{
|
|
/// <summary>
|
|
/// Gets the average rating value.
|
|
/// </summary>
|
|
[JsonPropertyName("value")]
|
|
public decimal? Value { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets the number of votes that contributed to the rating.
|
|
/// </summary>
|
|
[JsonPropertyName("votes-count")]
|
|
public int? VotesCount { get; init; }
|
|
}
|