Solution cleanup

This commit is contained in:
Alexander Horner
2022-12-08 19:33:08 +00:00
parent b644035433
commit d90ddc3be4
8 changed files with 8 additions and 16 deletions

View File

@@ -0,0 +1,25 @@
using Newtonsoft.Json;
namespace ntfysh_client.Notifications
{
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!;
}
}