mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-02-19 23:38:01 -05:00
26 lines
537 B
C#
26 lines
537 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Cleanuparr.Infrastructure.Features.Notifications.Gotify;
|
|
|
|
public class GotifyPayload
|
|
{
|
|
public string Title { get; set; } = string.Empty;
|
|
|
|
public string Message { get; set; } = string.Empty;
|
|
|
|
public int Priority { get; set; } = 5;
|
|
|
|
public GotifyExtras? Extras { get; set; }
|
|
}
|
|
|
|
public class GotifyExtras
|
|
{
|
|
[JsonProperty("client::display")]
|
|
public GotifyClientDisplay? ClientDisplay { get; set; }
|
|
}
|
|
|
|
public class GotifyClientDisplay
|
|
{
|
|
public string? ContentType { get; set; }
|
|
}
|