Solution cleanup
This commit is contained in:
25
ntfysh_client/Notifications/NtfyEvent.cs
Normal file
25
ntfysh_client/Notifications/NtfyEvent.cs
Normal 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!;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user