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
///
[Required]
[Description("When WhileDownloadingis selected, update the time between refreshes")]
public required int? RefreshLibraryWhileDownloadingEveryMinutes { get; init; }
}