| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | using System; |
| | | 9 | | |
| | | 10 | | namespace Azure.ResourceManager.Compute.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> Describes the properties of a run command parameter. </summary> |
| | | 13 | | public partial class RunCommandParameterDefinition |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of RunCommandParameterDefinition. </summary> |
| | | 16 | | /// <param name="name"> The run command parameter name. </param> |
| | | 17 | | /// <param name="type"> The run command parameter type. </param> |
| | 0 | 18 | | internal RunCommandParameterDefinition(string name, string type) |
| | | 19 | | { |
| | 0 | 20 | | if (name == null) |
| | | 21 | | { |
| | 0 | 22 | | throw new ArgumentNullException(nameof(name)); |
| | | 23 | | } |
| | 0 | 24 | | if (type == null) |
| | | 25 | | { |
| | 0 | 26 | | throw new ArgumentNullException(nameof(type)); |
| | | 27 | | } |
| | | 28 | | |
| | 0 | 29 | | Name = name; |
| | 0 | 30 | | Type = type; |
| | 0 | 31 | | } |
| | | 32 | | |
| | | 33 | | /// <summary> Initializes a new instance of RunCommandParameterDefinition. </summary> |
| | | 34 | | /// <param name="name"> The run command parameter name. </param> |
| | | 35 | | /// <param name="type"> The run command parameter type. </param> |
| | | 36 | | /// <param name="defaultValue"> The run command parameter default value. </param> |
| | | 37 | | /// <param name="required"> The run command parameter required. </param> |
| | 8 | 38 | | internal RunCommandParameterDefinition(string name, string type, string defaultValue, bool? required) |
| | | 39 | | { |
| | 8 | 40 | | Name = name; |
| | 8 | 41 | | Type = type; |
| | 8 | 42 | | DefaultValue = defaultValue; |
| | 8 | 43 | | Required = required; |
| | 8 | 44 | | } |
| | | 45 | | |
| | | 46 | | /// <summary> The run command parameter name. </summary> |
| | 0 | 47 | | public string Name { get; } |
| | | 48 | | /// <summary> The run command parameter type. </summary> |
| | 0 | 49 | | public string Type { get; } |
| | | 50 | | /// <summary> The run command parameter default value. </summary> |
| | 0 | 51 | | public string DefaultValue { get; } |
| | | 52 | | /// <summary> The run command parameter required. </summary> |
| | 0 | 53 | | public bool? Required { get; } |
| | | 54 | | } |
| | | 55 | | } |