2014-04-19 15:09:22 +00:00
|
|
|
|
using System;
|
|
|
|
|
using Newtonsoft.Json;
|
2012-01-19 04:05:03 +00:00
|
|
|
|
|
2013-03-05 05:33:34 +00:00
|
|
|
|
namespace NzbDrone.Core.Download.Clients.Sabnzbd
|
2012-01-19 04:05:03 +00:00
|
|
|
|
{
|
2014-02-14 05:31:49 +00:00
|
|
|
|
public class SabnzbdHistoryItem
|
2012-01-19 04:05:03 +00:00
|
|
|
|
{
|
|
|
|
|
[JsonProperty(PropertyName = "fail_message")]
|
|
|
|
|
public string FailMessage { get; set; }
|
|
|
|
|
|
2014-04-19 15:09:22 +00:00
|
|
|
|
[JsonProperty(PropertyName = "bytes")]
|
|
|
|
|
public Int64 Size { get; set; }
|
2012-01-19 04:05:03 +00:00
|
|
|
|
public string Category { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "nzb_name")]
|
|
|
|
|
public string NzbName { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "download_time")]
|
|
|
|
|
public int DownloadTime { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Storage { get; set; }
|
2014-04-19 15:09:22 +00:00
|
|
|
|
public SabnzbdDownloadStatus Status { get; set; }
|
2012-01-19 04:05:03 +00:00
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "nzo_id")]
|
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty(PropertyName = "name")]
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|