using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace ElectronNET.API.Entities { /// /// /// public class JumpListCategory { /// /// Must be set if type is custom, otherwise it should be omitted. /// public string Name { get; set; } /// /// Array of objects if type is tasks or custom, otherwise it should be omitted. /// public JumpListItem[] Items { get; set; } /// /// One of the following: "tasks" | "frequent" | "recent" | "custom" /// [JsonConverter(typeof(StringEnumConverter))] public JumpListCategoryType Type { get; set; } } }