parent
35d0e6a6f8
commit
1ec1ce58e9
@ -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