You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
508 B
19 lines
508 B
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();
|
|
}
|
|
}
|
|
}
|