/
ScriptStringExecutionParameterDetails.cs
39 lines (32 loc) · 1.52 KB
/
ScriptStringExecutionParameterDetails.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.Avs.Models
{
/// <summary> a plain text value execution parameter. </summary>
public partial class ScriptStringExecutionParameterDetails : ScriptExecutionParameterDetails
{
/// <summary> Initializes a new instance of ScriptStringExecutionParameterDetails. </summary>
/// <param name="name"> The parameter name. </param>
/// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception>
public ScriptStringExecutionParameterDetails(string name) : base(name)
{
Argument.AssertNotNull(name, nameof(name));
ParameterType = ScriptExecutionParameterType.Value;
}
/// <summary> Initializes a new instance of ScriptStringExecutionParameterDetails. </summary>
/// <param name="name"> The parameter name. </param>
/// <param name="parameterType"> The type of execution parameter. </param>
/// <param name="value"> The value for the passed parameter. </param>
internal ScriptStringExecutionParameterDetails(string name, ScriptExecutionParameterType parameterType, string value) : base(name, parameterType)
{
Value = value;
ParameterType = parameterType;
}
/// <summary> The value for the passed parameter. </summary>
public string Value { get; set; }
}
}