/ src / settings-ui / Settings.UI.Library / SndAwakeSettings.cs
SndAwakeSettings.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;
 6  using System.Text.Json.Serialization;
 7  
 8  namespace Microsoft.PowerToys.Settings.UI.Library
 9  {
10      public class SndAwakeSettings
11      {
12          [JsonPropertyName("Awake")]
13          public AwakeSettings Settings { get; set; }
14  
15          public SndAwakeSettings()
16          {
17          }
18  
19          public SndAwakeSettings(AwakeSettings settings)
20          {
21              Settings = settings;
22          }
23  
24          public string ToJsonString()
25          {
26              return JsonSerializer.Serialize(this);
27          }
28      }
29  }