20 lines
371 B
C#
20 lines
371 B
C#
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace Piwigo.Client.Contract;
|
||
|
|
||
|
public class Image
|
||
|
{
|
||
|
[JsonProperty("id")]
|
||
|
public int Id { get; init; }
|
||
|
|
||
|
[JsonProperty("width")]
|
||
|
public int Width { get; init; }
|
||
|
|
||
|
[JsonProperty("height")]
|
||
|
public int Height { get; init; }
|
||
|
|
||
|
[JsonProperty("hit")]
|
||
|
public int Hit { get; init; }
|
||
|
|
||
|
//TODO: add additional fields
|
||
|
}
|