github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/external-resource-schema/dotnet/Inputs/PetArgs.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 PetArgs : global::Pulumi.ResourceArgs 14 { 15 [Input("age")] 16 public Input<int>? Age { get; set; } 17 18 [Input("name")] 19 public Input<Pulumi.Random.RandomPet>? Name { get; set; } 20 21 [Input("nameArray")] 22 private InputList<Pulumi.Random.RandomPet>? _nameArray; 23 public InputList<Pulumi.Random.RandomPet> NameArray 24 { 25 get => _nameArray ?? (_nameArray = new InputList<Pulumi.Random.RandomPet>()); 26 set => _nameArray = value; 27 } 28 29 [Input("nameMap")] 30 private InputMap<Pulumi.Random.RandomPet>? _nameMap; 31 public InputMap<Pulumi.Random.RandomPet> NameMap 32 { 33 get => _nameMap ?? (_nameMap = new InputMap<Pulumi.Random.RandomPet>()); 34 set => _nameMap = value; 35 } 36 37 [Input("requiredName", required: true)] 38 public Input<Pulumi.Random.RandomPet> RequiredName { get; set; } = null!; 39 40 [Input("requiredNameArray", required: true)] 41 private InputList<Pulumi.Random.RandomPet>? _requiredNameArray; 42 public InputList<Pulumi.Random.RandomPet> RequiredNameArray 43 { 44 get => _requiredNameArray ?? (_requiredNameArray = new InputList<Pulumi.Random.RandomPet>()); 45 set => _requiredNameArray = value; 46 } 47 48 [Input("requiredNameMap", required: true)] 49 private InputMap<Pulumi.Random.RandomPet>? _requiredNameMap; 50 public InputMap<Pulumi.Random.RandomPet> RequiredNameMap 51 { 52 get => _requiredNameMap ?? (_requiredNameMap = new InputMap<Pulumi.Random.RandomPet>()); 53 set => _requiredNameMap = value; 54 } 55 56 public PetArgs() 57 { 58 } 59 public static new PetArgs Empty => new PetArgs(); 60 } 61 }