Class: AWSCDK::Connect::CfnEvaluationForm::EvaluationFormMultiSelectQuestionOptionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Connect::CfnEvaluationForm::EvaluationFormMultiSelectQuestionOptionProperty
- Defined in:
- connect/cfn_evaluation_form.rb
Overview
An option for a multi-select question in an evaluation form.
Instance Attribute Summary collapse
-
#ref_id ⇒ String
readonly
Reference identifier for this option.
-
#text ⇒ String
readonly
Display text for this option.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ref_id:, text:) ⇒ EvaluationFormMultiSelectQuestionOptionProperty
constructor
A new instance of EvaluationFormMultiSelectQuestionOptionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ref_id:, text:) ⇒ EvaluationFormMultiSelectQuestionOptionProperty
Returns a new instance of EvaluationFormMultiSelectQuestionOptionProperty.
1184 1185 1186 1187 1188 1189 |
# File 'connect/cfn_evaluation_form.rb', line 1184 def initialize(ref_id:, text:) @ref_id = ref_id Jsii::Type.check_type(@ref_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "refId") @text = text Jsii::Type.check_type(@text, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "text") end |
Instance Attribute Details
#ref_id ⇒ String (readonly)
Reference identifier for this option.
1195 1196 1197 |
# File 'connect/cfn_evaluation_form.rb', line 1195 def ref_id @ref_id end |
#text ⇒ String (readonly)
Display text for this option.
1200 1201 1202 |
# File 'connect/cfn_evaluation_form.rb', line 1200 def text @text end |
Class Method Details
.jsii_properties ⇒ Object
1202 1203 1204 1205 1206 1207 |
# File 'connect/cfn_evaluation_form.rb', line 1202 def self.jsii_properties { :ref_id => "refId", :text => "text", } end |
Instance Method Details
#to_jsii ⇒ Object
1209 1210 1211 1212 1213 1214 1215 1216 |
# File 'connect/cfn_evaluation_form.rb', line 1209 def to_jsii result = {} result.merge!({ "refId" => @ref_id, "text" => @text, }) result.compact end |