github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/other-owned/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  using Pulumi;
    10  
    11  namespace Other.Example.Outputs
    12  {
    13  
    14      [OutputType]
    15      public sealed class ObjectWithNodeOptionalInputs
    16      {
    17          public readonly int? Bar;
    18          public readonly string Foo;
    19  
    20          [OutputConstructor]
    21          private ObjectWithNodeOptionalInputs(
    22              int? bar,
    23  
    24              string foo)
    25          {
    26              Bar = bar;
    27              Foo = foo;
    28          }
    29      }
    30  }