15 lines
285 B
C#
15 lines
285 B
C#
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace Piwigo.Client.Contract;
|
||
|
|
||
|
public record ImageRating
|
||
|
{
|
||
|
[JsonProperty("score")]
|
||
|
public int Score { get; set; }
|
||
|
|
||
|
[JsonProperty("average")]
|
||
|
public float Average { get; set; }
|
||
|
|
||
|
[JsonProperty("count")]
|
||
|
public int Count { get; set; }
|
||
|
}
|