ScopingQuestion Class

  • java.lang.Object
    • com.azure.resourcemanager.appcomplianceautomation.models.ScopingQuestion

Implements

public final class ScopingQuestion
implements JsonSerializable<ScopingQuestion>

The definition of a scoping question.

Method Summary

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

Reads an instance of ScopingQuestion from the JsonReader.

InputType inputType()

Get the inputType property: Input type of the question answer.

List<String> optionIds()

Get the optionIds property: Option id list.

String questionId()

Get the questionId property: Question id.

List<Rule> rules()

Get the rules property: The rule of the question.

String showSubQuestionsValue()

Get the showSubQuestionsValue property: The answer value to show the sub questions.

String superiorQuestionId()

Get the superiorQuestionId property: Superior question id.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static ScopingQuestion fromJson(JsonReader jsonReader)

Reads an instance of ScopingQuestion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

inputType

public InputType inputType()

Get the inputType property: Input type of the question answer.

Returns:

the inputType value.

optionIds

public List<String> optionIds()

Get the optionIds property: Option id list.

Returns:

the optionIds value.

questionId

public String questionId()

Get the questionId property: Question id.

Returns:

the questionId value.

rules

public List<Rule> rules()

Get the rules property: The rule of the question.

Returns:

the rules value.

showSubQuestionsValue

public String showSubQuestionsValue()

Get the showSubQuestionsValue property: The answer value to show the sub questions.

Returns:

the showSubQuestionsValue value.

superiorQuestionId

public String superiorQuestionId()

Get the superiorQuestionId property: Superior question id.

Returns:

the superiorQuestionId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to