Class: Aws::ElementalInference::Types::ChooseOneQuestion
- Inherits:
-
Struct
- Object
- Struct
- Aws::ElementalInference::Types::ChooseOneQuestion
- Defined in:
- gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb
Overview
A question that you ask Elemental Inference, which answers by choosing one of its options. You specify it in the chooseOne array of a question set.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
A name for the question.
-
#options ⇒ Array<Types::QuestionOption>
The options that Elemental Inference chooses from.
-
#question ⇒ String
The text of the question.
Instance Attribute Details
#name ⇒ String
A name for the question. The name must be unique among all the questions in the version, across all question types. 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.
179 180 181 182 183 184 185 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 179 class ChooseOneQuestion < Struct.new( :name, :question, :options) SENSITIVE = [] include Aws::Structure end |
#options ⇒ Array<Types::QuestionOption>
The options that Elemental Inference chooses from. You can specify from 2 to 26 options. The question counts as one item toward the limit of 100 scored items in a version, regardless of how many options it has.
179 180 181 182 183 184 185 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 179 class ChooseOneQuestion < Struct.new( :name, :question, :options) SENSITIVE = [] include Aws::Structure end |
#question ⇒ String
The text of the question. The text can be up to 256 bytes, encoded
in UTF-8. It can contain letters in any language, combining marks,
digits, spaces, and the following characters: . , ? ! ' " ( ) - : ;
/ & %, plus the curly apostrophe and quotation marks (U+2019,
U+201C, and U+201D).
179 180 181 182 183 184 185 |
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 179 class ChooseOneQuestion < Struct.new( :name, :question, :options) SENSITIVE = [] include Aws::Structure end |