Class: Aws::ElementalInference::Types::ChooseOneQuestion

Inherits:
Struct
  • Object
show all
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

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.

Returns:

  • (String)


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.

Returns:



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).

Returns:

  • (String)


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