Bagikan melalui


StepInput Class

Definition

Details of step input.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.StepInputTypeConverter))]
public class StepInput : Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IStepInput
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.StepInputTypeConverter))>]
type StepInput = class
    interface IStepInput
    interface IJsonSerializable
Public Class StepInput
Implements IStepInput
Inheritance
StepInput
Attributes
Implements

Constructors

Name Description
StepInput()

Creates an new StepInput instance.

Properties

Name Description
QuestionContent

User question content.

QuestionContentType

Default is Text.

QuestionId

Use Index as QuestionId.

QuestionTitle

Question title

QuestionType

Type of Question

RecommendedOption

Result of Automate step.

ResponseHint

Place holder text for response hints.

ResponseOption
ResponseValidationPropertyIsRequired

Default True

ResponseValidationPropertyMaxLength

Max text input (open Ended Text).

ResponseValidationPropertyRegex

Regex used for the input validation.

ResponseValidationPropertyValidationErrorMessage

Validation Error Message.

ResponseValidationPropertyValidationScope

Validation scope

SelectedOptionValue

Text of response that was selected.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StepInput.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StepInput.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IStepInput.

FromJsonString(String)

Creates a new instance of StepInput, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of StepInput into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to