Files
ntfysh-windows/ntfysh_client/NtfyEvent.cs
2022-12-06 22:34:32 +00:00

25 lines
586 B
C#

using Newtonsoft.Json;
namespace ntfysh_client
{
public class NtfyEvent
{
[JsonProperty("id")]
public string Id { get; set; } = null!;
[JsonProperty("time")]
public long Time { get; set; }
[JsonProperty("event")]
public string Event { get; set; } = null!;
[JsonProperty("topic")]
public string Topic { get; set; } = null!;
[JsonProperty("message")]
public string Message { get; set; } = null!;
[JsonProperty("title")]
public string Title { get; set; } = null!;
}
}