Class: Aws::ElementalInference::Types::QuestionOption

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb

Overview

An option in a yesNoPerOption question or a chooseOne question.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#name ⇒ String

A name for the option. The name must be unique among the options of the question. The name can be up to 64 characters. It must start with a letter or an underscore, and can contain only the letters A-Z and a-z, the digits 0-9, and underscores.

Returns:

  • (String)


2619
2620
2621
2622
2623
2624
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 2619

class QuestionOption < Struct.new(
  :name,
  :text)
  SENSITIVE = []
  include Aws::Structure
end

#text ⇒ String

The text of the option. The text must be unique among the options of the question, ignoring case. The text can be up to 16 bytes, encoded in UTF-8. It can contain the same characters as the text of a question.

Returns:

  • (String)


2619
2620
2621
2622
2623
2624
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 2619

class QuestionOption < Struct.new(
  :name,
  :text)
  SENSITIVE = []
  include Aws::Structure
end