using Newtonsoft.Json; namespace Piwigo.Client.Contract; internal class PiwigoResponse { [JsonProperty("stat")] public string? Status { get; init; } [JsonProperty("err")] public int? Error { get; init; } [JsonProperty("message")] public string? Message { get; init; } [JsonProperty("result")] public T Result { get; init; } = default!; }