using AIStudio.Provider; namespace AIStudio.Settings.DataModel; public sealed class DataTranslation { /// /// The live translation interval for debouncing in milliseconds. /// public int DebounceIntervalMilliseconds { get; set; } = 1_500; /// /// Do we want to preselect any translator options? /// public bool PreselectOptions { get; set; } /// /// Preselect the live translation? /// public bool PreselectLiveTranslation { get; set; } /// /// Hide the web content reader? /// public bool HideWebContentReader { get; set; } /// /// Preselect the web content reader? /// public bool PreselectWebContentReader { get; set; } /// /// Preselect the content cleaner agent? /// public bool PreselectContentCleanerAgent { get; set; } /// /// Preselect the target language? /// public CommonLanguages PreselectedTargetLanguage { get; set; } = CommonLanguages.EN_US; /// /// Preselect any other language? /// public string PreselectOtherLanguage { get; set; } = string.Empty; /// /// The minimum confidence level required for a provider to be considered. /// public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE; /// /// The preselected translator provider. /// public string PreselectedProvider { get; set; } = string.Empty; }