mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-04 11:58:04 -05:00
20 lines
431 B
C#
20 lines
431 B
C#
namespace Common.Configuration.DownloadClient;
|
|
|
|
public sealed class QBitConfig : IConfig
|
|
{
|
|
public const string SectionName = "qBittorrent";
|
|
|
|
public Uri? Url { get; init; }
|
|
|
|
public string? Username { get; init; }
|
|
|
|
public string? Password { get; init; }
|
|
|
|
public void Validate()
|
|
{
|
|
if (Url is null)
|
|
{
|
|
throw new ArgumentNullException(nameof(Url));
|
|
}
|
|
}
|
|
} |