e0a6c7842b
* refactored code added deluge support added transmission support added content blocker added blacklist and whitelist * increased level on some logs; updated test docker compose; updated dev appsettings * updated docker compose and readme * moved some logs * fixed env var typo; fixed sonarr and radarr default download client
30 lines
760 B
C#
30 lines
760 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Domain.Models.Deluge.Response;
|
|
|
|
public record DelugeTorrent
|
|
{
|
|
[JsonProperty(PropertyName = "comment")]
|
|
public string Comment { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "is_seed")]
|
|
public bool IsSeed { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "hash")]
|
|
public string Hash { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "paused")]
|
|
public bool Paused { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "ratio")]
|
|
public double Ratio { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "message")]
|
|
public string Message { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "name")]
|
|
public string Name { get; set; }
|
|
|
|
[JsonProperty(PropertyName = "label")]
|
|
public string Label { get; set; }
|
|
} |