mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
35 lines
880 B
C#
35 lines
880 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace NzbDrone.Core.Model.Sabnzbd
|
|
{
|
|
public class SabQueueItem
|
|
{
|
|
public string Status { get; set; }
|
|
public int Index { get; set; }
|
|
public TimeSpan Timeleft { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "mb")]
|
|
public decimal Size { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "filename")]
|
|
public string Title { get; set; }
|
|
|
|
public SabPriorityType Priority { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "cat")]
|
|
public string Category { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "mbleft")]
|
|
public decimal SizeLeft { get; set; }
|
|
|
|
public int Percentage { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "nzo_id")]
|
|
public string Id { get; set; }
|
|
}
|
|
}
|