mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-01-03 11:28:02 -05:00
20 lines
495 B
C#
20 lines
495 B
C#
using Microsoft.Extensions.Configuration;
|
|
|
|
namespace Common.Configuration.ContentBlocker;
|
|
|
|
public sealed record ContentBlockerConfig : IJobConfig
|
|
{
|
|
public const string SectionName = "ContentBlocker";
|
|
|
|
public required bool Enabled { get; init; }
|
|
|
|
[ConfigurationKeyName("IGNORE_PRIVATE")]
|
|
public bool IgnorePrivate { get; init; }
|
|
|
|
[ConfigurationKeyName("DELETE_PRIVATE")]
|
|
public bool DeletePrivate { get; init; }
|
|
|
|
public void Validate()
|
|
{
|
|
}
|
|
} |