Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>pull/5215/head
parent
a9a0d47f9f
commit
3bc4231640
@ -0,0 +1,17 @@
|
|||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.Notifications.Webhook
|
||||||
|
{
|
||||||
|
// TODO: In v4 this will likely be changed to the default camel case.
|
||||||
|
[JsonConverter(typeof(StringEnumConverter), converterParameters: typeof(DefaultNamingStrategy))]
|
||||||
|
public enum WebhookEventType
|
||||||
|
{
|
||||||
|
Test,
|
||||||
|
Grab,
|
||||||
|
Download,
|
||||||
|
Rename,
|
||||||
|
Health
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
namespace NzbDrone.Core.Notifications.Webhook
|
||||||
|
{
|
||||||
|
public class WebhookRenamePayload : WebhookPayload
|
||||||
|
{
|
||||||
|
public WebhookMovie Movie { get; set; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue