github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/simple-resource-schema/dotnet/Outputs/ObjectWithNodeOptionalInputs.cs (about)

     1  // *** WARNING: this file was generated by test. ***
     2  // *** Do not edit by hand unless you're certain you know what you are doing! ***
     3  
     4  using System;
     5  using System.Collections.Generic;
     6  using System.Collections.Immutable;
     7  using System.Threading.Tasks;
     8  using Pulumi.Serialization;
     9  
    10  namespace Pulumi.Example.Outputs
    11  {
    12  
    13      [OutputType]
    14      public sealed class ObjectWithNodeOptionalInputs
    15      {
    16          public readonly int? Bar;
    17          public readonly string Foo;
    18  
    19          [OutputConstructor]
    20          private ObjectWithNodeOptionalInputs(
    21              int? bar,
    22  
    23              string foo)
    24          {
    25              Bar = bar;
    26              Foo = foo;
    27          }
    28      }
    29  }