2022-10-21 21:20:21 +02:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
namespace Piwigo.Client.Contract;
|
|
|
|
|
2022-10-22 23:20:26 +02:00
|
|
|
public record ImageAlbum
|
2022-10-21 21:20:21 +02:00
|
|
|
{
|
|
|
|
[JsonProperty("id")]
|
|
|
|
public int Id { get; init; }
|
|
|
|
|
2022-10-22 23:20:26 +02:00
|
|
|
[JsonProperty("name")]
|
|
|
|
public string? Name { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("permalink")]
|
|
|
|
public string? Permalink { get; init; }
|
|
|
|
|
2022-10-21 21:20:21 +02:00
|
|
|
[JsonProperty("url")]
|
|
|
|
public string? Url { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("page_url")]
|
|
|
|
public string? PageUrl { get; init; }
|
|
|
|
}
|