|
|
|
@ -1,8 +1,19 @@
|
|
|
|
|
namespace NzbDrone.Core.Download.Clients.Sabnzbd
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Download.Clients.Sabnzbd
|
|
|
|
|
{
|
|
|
|
|
public class SabJsonError
|
|
|
|
|
{
|
|
|
|
|
public bool Status { get; set; }
|
|
|
|
|
public string Status { get; set; }
|
|
|
|
|
public string Error { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool Failed
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return !String.IsNullOrWhiteSpace(Status) &&
|
|
|
|
|
Status.Equals("false", StringComparison.InvariantCultureIgnoreCase);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|