2016-12-23 21:45:24 +00:00
|
|
|
|
using System.Collections.Generic;
|
2014-09-13 23:13:00 +00:00
|
|
|
|
|
2014-12-19 00:26:42 +00:00
|
|
|
|
namespace NzbDrone.Core.Download.TrackedDownloads
|
2014-09-13 23:13:00 +00:00
|
|
|
|
{
|
|
|
|
|
public class TrackedDownloadStatusMessage
|
|
|
|
|
{
|
2015-10-03 17:45:26 +00:00
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
public List<string> Messages { get; set; }
|
2014-09-13 23:13:00 +00:00
|
|
|
|
|
2015-10-03 17:45:26 +00:00
|
|
|
|
public TrackedDownloadStatusMessage(string title, List<string> messages)
|
2014-09-13 23:13:00 +00:00
|
|
|
|
{
|
|
|
|
|
Title = title;
|
|
|
|
|
Messages = messages;
|
|
|
|
|
}
|
|
|
|
|
|
2015-10-03 17:45:26 +00:00
|
|
|
|
public TrackedDownloadStatusMessage(string title, string message)
|
2014-09-13 23:13:00 +00:00
|
|
|
|
{
|
|
|
|
|
Title = title;
|
2015-10-03 17:45:26 +00:00
|
|
|
|
Messages = new List<string> { message };
|
2014-09-13 23:13:00 +00:00
|
|
|
|
}
|
2014-12-21 16:46:24 +00:00
|
|
|
|
|
|
|
|
|
//Constructor for use when deserializing JSON
|
|
|
|
|
private TrackedDownloadStatusMessage()
|
|
|
|
|
{
|
|
|
|
|
}
|
2014-09-13 23:13:00 +00:00
|
|
|
|
}
|
|
|
|
|
}
|