Class: AWSCDK::Lex::CfnBot::BKBExactResponseFieldsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
lex/cfn_bot.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(answer_field: nil) ⇒ BKBExactResponseFieldsProperty

Returns a new instance of BKBExactResponseFieldsProperty.

Parameters:

  • answer_field (String, nil) (defaults to: nil)


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_fieldString? (readonly)



1003
1004
1005
# File 'lex/cfn_bot.rb', line 1003

def answer_field
  @answer_field
end

Class Method Details

.jsii_propertiesObject



1005
1006
1007
1008
1009
# File 'lex/cfn_bot.rb', line 1005

def self.jsii_properties
  {
    :answer_field => "answerField",
  }
end

Instance Method Details

#to_jsiiObject



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