github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/simple-yaml-schema/dotnet/Inputs/ObjectArgs.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.Inputs
    11  {
    12  
    13      public sealed class ObjectArgs : global::Pulumi.ResourceArgs
    14      {
    15          [Input("bar")]
    16          public Input<string>? Bar { get; set; }
    17  
    18          [Input("configs")]
    19          private InputList<Inputs.ConfigMapArgs>? _configs;
    20          public InputList<Inputs.ConfigMapArgs> Configs
    21          {
    22              get => _configs ?? (_configs = new InputList<Inputs.ConfigMapArgs>());
    23              set => _configs = value;
    24          }
    25  
    26          [Input("foo")]
    27          public Input<Pulumi.Example.Resource>? Foo { get; set; }
    28  
    29          [Input("others")]
    30          private InputList<ImmutableArray<Inputs.SomeOtherObjectArgs>>? _others;
    31  
    32          /// <summary>
    33          /// List of lists of other objects
    34          /// </summary>
    35          public InputList<ImmutableArray<Inputs.SomeOtherObjectArgs>> Others
    36          {
    37              get => _others ?? (_others = new InputList<ImmutableArray<Inputs.SomeOtherObjectArgs>>());
    38              set => _others = value;
    39          }
    40  
    41          [Input("stillOthers")]
    42          private InputMap<ImmutableArray<Inputs.SomeOtherObjectArgs>>? _stillOthers;
    43  
    44          /// <summary>
    45          /// Mapping from string to list of some other object
    46          /// </summary>
    47          public InputMap<ImmutableArray<Inputs.SomeOtherObjectArgs>> StillOthers
    48          {
    49              get => _stillOthers ?? (_stillOthers = new InputMap<ImmutableArray<Inputs.SomeOtherObjectArgs>>());
    50              set => _stillOthers = value;
    51          }
    52  
    53          public ObjectArgs()
    54          {
    55          }
    56          public static new ObjectArgs Empty => new ObjectArgs();
    57      }
    58  }