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