VcpCodeDisplayInfo.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.Text.Json.Serialization; 6 7 namespace Microsoft.PowerToys.Settings.UI.Library 8 { 9 /// <summary> 10 /// Formatted VCP code display information 11 /// </summary> 12 public class VcpCodeDisplayInfo 13 { 14 [JsonPropertyName("code")] 15 public string Code { get; set; } = string.Empty; 16 17 [JsonPropertyName("title")] 18 public string Title { get; set; } = string.Empty; 19 20 [JsonPropertyName("values")] 21 public string Values { get; set; } = string.Empty; 22 23 [JsonPropertyName("hasValues")] 24 public bool HasValues { get; set; } 25 26 [JsonPropertyName("valueList")] 27 public System.Collections.Generic.List<VcpValueInfo> ValueList { get; set; } = new System.Collections.Generic.List<VcpValueInfo>(); 28 } 29 }