StepInput Class

  • java.lang.Object
    • com.azure.resourcemanager.selfhelp.models.StepInput

Implements

public final class StepInput
implements JsonSerializable<StepInput>

Details of step input.

Method Summary

Modifier and Type Method and Description
static StepInput fromJson(JsonReader jsonReader)

Reads an instance of StepInput from the JsonReader.

String questionContent()

Get the questionContent property: User question content.

QuestionContentType questionContentType()

Get the questionContentType property: Default is Text.

String questionId()

Get the questionId property: Use Index as QuestionId.

String questionTitle()

Get the questionTitle property: Question title.

QuestionType questionType()

Get the questionType property: Type of Question.

String recommendedOption()

Get the recommendedOption property: Result of Automate step.

String responseHint()

Get the responseHint property: Place holder text for response hints.

List<ResponseOption> responseOptions()

Get the responseOptions property: The responseOptions property.

ResponseValidationProperties responseValidationProperties()

Get the responseValidationProperties property: Troubleshooter step input response validation properties.

String selectedOptionValue()

Get the selectedOptionValue property: Text of response that was selected.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static StepInput fromJson(JsonReader jsonReader)

Reads an instance of StepInput from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StepInput if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StepInput.

questionContent

public String questionContent()

Get the questionContent property: User question content.

Returns:

the questionContent value.

questionContentType

public QuestionContentType questionContentType()

Get the questionContentType property: Default is Text.

Returns:

the questionContentType value.

questionId

public String questionId()

Get the questionId property: Use Index as QuestionId.

Returns:

the questionId value.

questionTitle

public String questionTitle()

Get the questionTitle property: Question title.

Returns:

the questionTitle value.

questionType

public QuestionType questionType()

Get the questionType property: Type of Question.

Returns:

the questionType value.

recommendedOption

public String recommendedOption()

Get the recommendedOption property: Result of Automate step.

Returns:

the recommendedOption value.

responseHint

public String responseHint()

Get the responseHint property: Place holder text for response hints.

Returns:

the responseHint value.

responseOptions

public List<ResponseOption> responseOptions()

Get the responseOptions property: The responseOptions property.

Returns:

the responseOptions value.

responseValidationProperties

public ResponseValidationProperties responseValidationProperties()

Get the responseValidationProperties property: Troubleshooter step input response validation properties.

Returns:

the responseValidationProperties value.

selectedOptionValue

public String selectedOptionValue()

Get the selectedOptionValue property: Text of response that was selected.

Returns:

the selectedOptionValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to