piwigodotnet/PiwigoDotnet/Piwigo.Client/Contract/Image.cs

20 lines
371 B
C#
Raw Normal View History

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
}