class Aws::Lex::Conversation::Type::SlotValue
Public Instance Methods
resolvable?()
click to toggle source
# File lib/aws/lex/conversation/type/slot_value.rb, line 33 def resolvable? resolved_values.any? end
resolve!(index: 0)
click to toggle source
# File lib/aws/lex/conversation/type/slot_value.rb, line 25 def resolve!(index: 0) self.interpreted_value = resolved(index: index) end
resolved(index: 0)
click to toggle source
# File lib/aws/lex/conversation/type/slot_value.rb, line 29 def resolved(index: 0) resolved_values.fetch(index) { interpreted_value } end
to_lex()
click to toggle source
# File lib/aws/lex/conversation/type/slot_value.rb, line 17 def to_lex { interpretedValue: interpreted_value, originalValue: original_value, resolvedValues: resolved_values } end