(cherry picked from commit 1ec1ce58e9f095222e7fe4a8c74a0720fed71558) Closes #9874pull/9879/head
parent
83bd4d0686
commit
4e47695f89
@ -0,0 +1,18 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using NzbDrone.Core.Download.TrackedDownloads;
|
||||||
|
|
||||||
|
namespace NzbDrone.Core.Notifications.Webhook
|
||||||
|
{
|
||||||
|
public class WebhookDownloadStatusMessage
|
||||||
|
{
|
||||||
|
public string Title { get; set; }
|
||||||
|
public List<string> Messages { get; set; }
|
||||||
|
|
||||||
|
public WebhookDownloadStatusMessage(TrackedDownloadStatusMessage statusMessage)
|
||||||
|
{
|
||||||
|
Title = statusMessage.Title;
|
||||||
|
Messages = statusMessage.Messages.ToList();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue