piwigodotnet/PiwigoDotnet/Piwigo.Client/Contract/Comment.cs

18 lines
355 B
C#
Raw Normal View History

using Newtonsoft.Json;
namespace Piwigo.Client.Contract;
public record Comment
{
[JsonProperty("id")]
public int Id { get; init; }
[JsonProperty("date")]
public DateTime? Date { get; init; }
[JsonProperty("author")]
public string? Author { get; init; }
[JsonProperty("content")]
public string? Content { get; init; }
}