piwigodotnet/PiwigoDotnet/Piwigo.Client/PiwigoResponse.cs

12 lines
231 B
C#

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