mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-05-08 06:42:59 -04:00
18 lines
381 B
C#
18 lines
381 B
C#
namespace Common.Configuration.DownloadClient;
|
|
|
|
public sealed record DelugeConfig : IConfig
|
|
{
|
|
public const string SectionName = "Deluge";
|
|
|
|
public Uri? Url { get; init; }
|
|
|
|
public string? Password { get; init; }
|
|
|
|
public void Validate()
|
|
{
|
|
if (Url is null)
|
|
{
|
|
throw new ArgumentNullException(nameof(Url));
|
|
}
|
|
}
|
|
} |