using System.ComponentModel; using System.ComponentModel.DataAnnotations; using API.Workers; namespace API.Controllers.Requests; public record PatchLibraryRefreshRecord { /// /// When to refresh the Library /// [Required] [Description("When to refresh the Library")] public required LibraryRefreshSetting Setting { get; init; } /// /// When is selected, update the time between refreshes /// [Description("When WhileDownloadingis selected, update the time between refreshes")] public int? RefreshLibraryWhileDownloadingEveryMinutes { get; init; } }