3e0913b437
* fixed unwanted deletion of torrents in downloading metadata state * refactored jobs code * updated arr test data * updated gitignore * updated test configuration and removed dispensable files
12 lines
333 B
C#
12 lines
333 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Domain.Models.Deluge.Response;
|
|
|
|
public sealed record DelugeContents
|
|
{
|
|
[JsonPropertyName("contents")]
|
|
public Dictionary<string, DelugeFileOrDirectory>? Contents { get; set; }
|
|
|
|
[JsonPropertyName("type")]
|
|
public string Type { get; set; } // Always "dir" for the root
|
|
} |