2022-10-07 13:43:19 +02:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
2022-10-15 00:07:59 +02:00
|
|
|
namespace Piwigo.Client.Contract;
|
2022-10-07 13:43:19 +02:00
|
|
|
|
|
|
|
internal class PiwigoResponse<T>
|
|
|
|
{
|
|
|
|
[JsonProperty("stat")]
|
|
|
|
public string? Status { get; init; }
|
|
|
|
|
|
|
|
[JsonProperty("result")]
|
|
|
|
public T Result { get; init; } = default!;
|
|
|
|
}
|