Class CfnEvaluationForm.EvaluationFormSectionProperty
Information about a section from an evaluation form.
Inheritance
Namespace: Amazon.CDK.AWS.Connect
Assembly: Amazon.CDK.AWS.Connect.dll
Syntax (csharp)
public class EvaluationFormSectionProperty : Object, CfnEvaluationForm.IEvaluationFormSectionProperty
Syntax (vb)
Public Class EvaluationFormSectionProperty
Inherits Object
Implements CfnEvaluationForm.IEvaluationFormSectionProperty
Remarks
A section can contain sections and/or questions. Evaluation forms can only contain sections and subsections (two level nesting).
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;
EvaluationFormItemProperty evaluationFormItemProperty_;
var evaluationFormSectionProperty = new EvaluationFormSectionProperty {
RefId = "refId",
Title = "title",
// the properties below are optional
Instructions = "instructions",
Items = new [] { new EvaluationFormItemProperty {
Question = 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
},
Section = new EvaluationFormSectionProperty {
RefId = "refId",
Title = "title",
// the properties below are optional
Instructions = "instructions",
Items = new [] { evaluationFormItemProperty_ },
Weight = 123
}
} },
Weight = 123
};
Synopsis
Constructors
EvaluationFormSectionProperty() |
Properties
Instructions | The instructions of the section. |
Items | The items of the section. |
RefId | The identifier of the section. An identifier must be unique within the evaluation form. |
Title | The title of the section. |
Weight | The scoring weight of the section. |
Constructors
EvaluationFormSectionProperty()
public EvaluationFormSectionProperty()
Properties
Instructions
The instructions of the section.
public string Instructions { get; set; }
Property Value
System.String
Remarks
Items
The items of the section.
public object Items { get; set; }
Property Value
System.Object
Remarks
RefId
The identifier of the section. 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 section.
public string Title { get; set; }
Property Value
System.String
Remarks
Length Constraints : Minimum length of 1. Maximum length of 128.
Weight
The scoring weight of the section.
public Nullable<double> Weight { get; set; }
Property Value
System.Nullable<System.Double>