Class: AWSCDK::Lex::CfnBot::BKBExactResponseFieldsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lex::CfnBot::BKBExactResponseFieldsProperty
- Defined in:
- lex/cfn_bot.rb
Overview
Instance Attribute Summary collapse
- #answer_field ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(answer_field: nil) ⇒ BKBExactResponseFieldsProperty
constructor
A new instance of BKBExactResponseFieldsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(answer_field: nil) ⇒ BKBExactResponseFieldsProperty
Returns a new instance of BKBExactResponseFieldsProperty.
996 997 998 999 |
# File 'lex/cfn_bot.rb', line 996 def initialize(answer_field: nil) @answer_field = answer_field Jsii::Type.check_type(@answer_field, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "answerField") unless @answer_field.nil? end |
Instance Attribute Details
#answer_field ⇒ String? (readonly)
1003 1004 1005 |
# File 'lex/cfn_bot.rb', line 1003 def answer_field @answer_field end |
Class Method Details
.jsii_properties ⇒ Object
1005 1006 1007 1008 1009 |
# File 'lex/cfn_bot.rb', line 1005 def self.jsii_properties { :answer_field => "answerField", } end |
Instance Method Details
#to_jsii ⇒ Object
1011 1012 1013 1014 1015 1016 1017 |
# File 'lex/cfn_bot.rb', line 1011 def to_jsii result = {} result.merge!({ "answerField" => @answer_field, }) result.compact end |