using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace ElectronNET.API.Entities { /// /// /// public class ProgressBarOptions { /// /// Mode for the progress bar. Can be 'none' | 'normal' | 'indeterminate' | 'error' | 'paused'. /// [JsonConverter(typeof(StringEnumConverter))] public ProgressBarMode Mode { get; set; } } }