2020-05-31 03:09:54 +02:00
|
|
|
|
using Newtonsoft.Json;
|
2017-10-17 05:12:35 +02:00
|
|
|
|
using Newtonsoft.Json.Converters;
|
2017-10-14 00:06:58 +02:00
|
|
|
|
|
2020-05-31 03:09:54 +02:00
|
|
|
|
namespace ElectronNET.API.Entities
|
2017-10-14 00:06:58 +02:00
|
|
|
|
{
|
2017-10-24 21:43:27 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
///
|
|
|
|
|
|
/// </summary>
|
2017-10-14 00:06:58 +02:00
|
|
|
|
public class JumpListCategory
|
|
|
|
|
|
{
|
2017-10-14 14:41:11 +02:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Must be set if type is custom, otherwise it should be omitted.
|
|
|
|
|
|
/// </summary>
|
2017-10-17 05:12:35 +02:00
|
|
|
|
public string Name { get; set; }
|
2017-10-14 14:41:11 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Array of objects if type is tasks or custom, otherwise it should be omitted.
|
|
|
|
|
|
/// </summary>
|
2017-10-17 05:12:35 +02:00
|
|
|
|
public JumpListItem[] Items { get; set; }
|
2017-10-14 14:41:11 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// One of the following: "tasks" | "frequent" | "recent" | "custom"
|
|
|
|
|
|
/// </summary>
|
2017-10-17 05:12:35 +02:00
|
|
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
|
|
|
|
public JumpListCategoryType Type { get; set; }
|
2017-10-14 00:06:58 +02:00
|
|
|
|
}
|
2020-05-31 03:09:54 +02:00
|
|
|
|
}
|