winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

GetSimpleItem.cs (972B)


      1 // -----------------------------------------------------------------------------
      2 // <copyright file="GetSimpleItem.cs" company="Microsoft Corporation">
      3 //     Copyright (c) Microsoft Corporation. Licensed under the MIT License.
      4 // </copyright>
      5 // -----------------------------------------------------------------------------
      6 
      7 namespace Microsoft.Management.Configuration.Processor.DSCv3.Schema_2024_04.Outputs
      8 {
      9     using System.Text.Json.Nodes;
     10     using System.Text.Json.Serialization;
     11 
     12     /// <summary>
     13     /// The simple form of the get output.
     14     /// DSC returns a simple get response when the instance isn't a group resource, adapter resource, or nested inside a group or adapter resource.
     15     /// </summary>
     16     internal class GetSimpleItem
     17     {
     18         /// <summary>
     19         /// Gets or sets the state of the resource properties.
     20         /// </summary>
     21         [JsonRequired]
     22         public JsonObject? ActualState { get; set; }
     23     }
     24 }