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

21 lines
428 B
C#
Raw Normal View History

using Newtonsoft.Json;
namespace Piwigo.Client.Contract;
public record ImageAlbum
{
[JsonProperty("id")]
public int Id { get; init; }
[JsonProperty("name")]
public string? Name { get; init; }
[JsonProperty("permalink")]
public string? Permalink { get; init; }
[JsonProperty("url")]
public string? Url { get; init; }
[JsonProperty("page_url")]
public string? PageUrl { get; init; }
}