LootDumpProcessor/Model/Config/ReaderConfig.cs

36 lines
1.2 KiB
C#
Raw Normal View History

using System.Text.Json.Serialization;
2023-08-12 19:08:38 +01:00
using LootDumpProcessor.Process.Reader.Filters;
using Newtonsoft.Json;
namespace LootDumpProcessor.Model.Config;
public class ReaderConfig
{
[JsonProperty("intakeReaderConfig")]
[JsonPropertyName("intakeReaderConfig")]
public IntakeReaderConfig? IntakeReaderConfig { get; set; }
[JsonProperty("preProcessorConfig")]
[JsonPropertyName("preProcessorConfig")]
public PreProcessorConfig? PreProcessorConfig { get; set; }
[JsonProperty("dumpFilesLocation")]
[JsonPropertyName("dumpFilesLocation")]
public List<string>? DumpFilesLocation { get; set; }
[JsonProperty("thresholdDate")]
[JsonPropertyName("thresholdDate")]
public string? ThresholdDate { get; set; }
[JsonProperty("acceptedFileExtensions")]
[JsonPropertyName("acceptedFileExtensions")]
public List<string> AcceptedFileExtensions { get; set; } = new();
2023-08-12 19:08:38 +01:00
[JsonProperty("processSubFolders")]
[JsonPropertyName("processSubFolders")]
public bool ProcessSubFolders { get; set; }
[JsonProperty("fileFilters")]
[JsonPropertyName("fileFilters")]
public List<FileFilterTypes>? FileFilters { get; set; }
}