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