mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-03-06 07:16:10 -05:00
15 lines
385 B
C#
15 lines
385 B
C#
using Microsoft.Extensions.Configuration;
|
|
|
|
namespace Common.Configuration.Arr;
|
|
|
|
public abstract class ArrConfig : IConfig
|
|
{
|
|
public bool Enabled { get; init; }
|
|
|
|
[ConfigurationKeyName("IMPORT_FAILED_MAX_STRIKES")]
|
|
public short ImportFailedMaxStrikes { get; init; } = -1;
|
|
|
|
public List<ArrInstance> Instances { get; init; } = [];
|
|
|
|
public abstract void Validate();
|
|
} |