Lidarr/src/NzbDrone.Core/Notifications/Webhook/WebhookEventType.cs

26 lines
634 B
C#

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,
DownloadFailure,
ImportFailure,
Rename,
AlbumDelete,
ArtistDelete,
Health,
Retag,
ApplicationUpdate,
HealthRestored,
ManualInteractionRequired
}
}