2024-04-16 18:29:40 +00:00
|
|
|
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")]
|
2024-04-16 18:29:40 +00:00
|
|
|
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; }
|
|
|
|
}
|