namespace CvCleanupJob.Models; /// /// Parameters for the CvStorageCleanup scheduled task (bound from Jobs:Tasks:n:Parameters). /// public sealed class CvStorageCleanupParameters { /// Maximum total size of retained CV files (defaults to 40 MiB). public double MaxTotalSizeMegabytes { get; set; } = 40; /// File glob within the storage directory (default matches cached CV PDFs). public string SearchPattern { get; set; } = "*.pdf"; /// /// When true, only files whose base name is alphanumeric (same convention as API CV cache) are considered. /// Set false if you store other PDFs under the same folder and want the glob to apply to all of them. /// public bool RestrictToCvStyleFileNamesOnly { get; set; } = true; }