mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-20 21:54:58 -04:00
New: 'On Import Complete' notification when all episodes in a release are imported
Closes #363
This commit is contained in:
committed by
Mark McDowall
parent
1d06e40acb
commit
a83b521766
@@ -0,0 +1,18 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NzbDrone.Core.Notifications.Webhook
|
||||
{
|
||||
public class WebhookImportCompletePayload : WebhookPayload
|
||||
{
|
||||
public WebhookSeries Series { get; set; }
|
||||
public List<WebhookEpisode> Episodes { get; set; }
|
||||
public List<WebhookEpisodeFile> EpisodeFiles { get; set; }
|
||||
public string DownloadClient { get; set; }
|
||||
public string DownloadClientType { get; set; }
|
||||
public string DownloadId { get; set; }
|
||||
public WebhookGrabbedRelease Release { get; set; }
|
||||
public int FileCount => EpisodeFiles.Count;
|
||||
public string SourcePath { get; set; }
|
||||
public string DestinationPath { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user