Class: WhopSDK::Models::Lesson::AssessmentQuestion::Option
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::Lesson::AssessmentQuestion::Option
- Defined in:
- lib/whop_sdk/models/lesson.rb
Instance Attribute Summary collapse
-
#id ⇒ String
The ID of the assessment question option.
-
#is_correct ⇒ Boolean
Whether this option is a correct answer.
-
#option_text ⇒ String
The text of the answer option.
-
#order ⇒ Integer
The order of this option within the question.
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from WhopSDK::Internal::Type::BaseModel
Instance Attribute Details
#id ⇒ String
The ID of the assessment question option
218 |
# File 'lib/whop_sdk/models/lesson.rb', line 218 required :id, String |
#is_correct ⇒ Boolean
Whether this option is a correct answer
224 |
# File 'lib/whop_sdk/models/lesson.rb', line 224 required :is_correct, WhopSDK::Internal::Type::Boolean |
#option_text ⇒ String
The text of the answer option
230 |
# File 'lib/whop_sdk/models/lesson.rb', line 230 required :option_text, String |
#order ⇒ Integer
The order of this option within the question
236 |
# File 'lib/whop_sdk/models/lesson.rb', line 236 required :order, Integer |