Class CfnEvaluationForm.EvaluationFormQuestionProperty
Information about a question from an evaluation form.
Inheritance
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.AWS.Connect.dll
Syntax (csharp)
public class EvaluationFormQuestionProperty : Object, CfnEvaluationForm.IEvaluationFormQuestionProperty
Syntax (vb)
Public Class EvaluationFormQuestionProperty
Inherits Object
Implements CfnEvaluationForm.IEvaluationFormQuestionProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Connect;
var evaluationFormQuestionProperty = new EvaluationFormQuestionProperty {
QuestionType = "questionType",
RefId = "refId",
Title = "title",
// the properties below are optional
Instructions = "instructions",
NotApplicableEnabled = false,
QuestionTypeProperties = new EvaluationFormQuestionTypePropertiesProperty {
Numeric = new EvaluationFormNumericQuestionPropertiesProperty {
MaxValue = 123,
MinValue = 123,
// the properties below are optional
Automation = new EvaluationFormNumericQuestionAutomationProperty {
PropertyValue = new NumericQuestionPropertyValueAutomationProperty {
Label = "label"
}
},
Options = new [] { new EvaluationFormNumericQuestionOptionProperty {
MaxValue = 123,
MinValue = 123,
// the properties below are optional
AutomaticFail = false,
Score = 123
} }
},
SingleSelect = new EvaluationFormSingleSelectQuestionPropertiesProperty {
Options = new [] { new EvaluationFormSingleSelectQuestionOptionProperty {
RefId = "refId",
Text = "text",
// the properties below are optional
AutomaticFail = false,
Score = 123
} },
// the properties below are optional
Automation = new EvaluationFormSingleSelectQuestionAutomationProperty {
Options = new [] { new EvaluationFormSingleSelectQuestionAutomationOptionProperty {
RuleCategory = new SingleSelectQuestionRuleCategoryAutomationProperty {
Category = "category",
Condition = "condition",
OptionRefId = "optionRefId"
}
} },
// the properties below are optional
DefaultOptionRefId = "defaultOptionRefId"
},
DisplayAs = "displayAs"
}
},
Weight = 123
};
Synopsis
Constructors
EvaluationFormQuestionProperty() |
Properties
Instructions | The instructions of the section. |
NotApplicableEnabled | The flag to enable not applicable answers to the question. |
QuestionType | The type of the question. |
QuestionTypeProperties | The properties of the type of question. |
RefId | The identifier of the question. An identifier must be unique within the evaluation form. |
Title | The title of the question. |
Weight | The scoring weight of the section. |
Constructors
EvaluationFormQuestionProperty()
public EvaluationFormQuestionProperty()
Properties
Instructions
The instructions of the section.
public string Instructions { get; set; }
Property Value
System.String
Remarks
Length Constraints : Minimum length of 0. Maximum length of 1024.
NotApplicableEnabled
The flag to enable not applicable answers to the question.
public object NotApplicableEnabled { get; set; }
Property Value
System.Object
Remarks
QuestionType
The type of the question.
public string QuestionType { get; set; }
Property Value
System.String
Remarks
Allowed values : NUMERIC
| SINGLESELECT
| TEXT
QuestionTypeProperties
The properties of the type of question.
public object QuestionTypeProperties { get; set; }
Property Value
System.Object
Remarks
Text questions do not have to define question type properties.
RefId
The identifier of the question. An identifier must be unique within the evaluation form.
public string RefId { get; set; }
Property Value
System.String
Remarks
Length Constraints : Minimum length of 1. Maximum length of 40.
Title
The title of the question.
public string Title { get; set; }
Property Value
System.String
Remarks
Length Constraints : Minimum length of 1. Maximum length of 350.
Weight
The scoring weight of the section.
public Nullable<double> Weight { get; set; }
Property Value
System.Nullable<System.Double>