You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
508 B
21 lines
508 B
using System.Xml.Serialization;
|
|
|
|
namespace Hqub.MusicBrainz.API.Entities
|
|
{
|
|
[XmlRoot("rating", Namespace = "http://musicbrainz.org/ns/mmd-2.0#")]
|
|
public class Rating
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the votes-count.
|
|
/// </summary>
|
|
[XmlAttribute("votes-count")]
|
|
public int VotesCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the rating value.
|
|
/// </summary>
|
|
[XmlText]
|
|
public double Value { get; set; }
|
|
}
|
|
}
|