Class: WhopSDK::Models::CourseLessonInteractionListItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- WhopSDK::Models::CourseLessonInteractionListItem
- Defined in:
- lib/whop_sdk/models/course_lesson_interaction_list_item.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#completed ⇒ Boolean
Whether the user has finished this lesson.
-
#created_at ⇒ Time
The datetime the lesson interaction was created.
-
#id ⇒ String
The unique identifier for the lesson interaction.
-
#lesson ⇒ WhopSDK::Models::CourseLessonInteractionListItem::Lesson
The lesson that this progress record belongs to.
-
#user ⇒ WhopSDK::Models::CourseLessonInteractionListItem::User
The user whose progress is being tracked.
Instance Method Summary collapse
-
#initialize(id:) ⇒ Object
constructor
The parent chapter that contains this lesson.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, 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
#initialize(id:) ⇒ Object
The parent chapter that contains this lesson.
|
|
# File 'lib/whop_sdk/models/course_lesson_interaction_list_item.rb', line 36
|
Instance Attribute Details
#completed ⇒ Boolean
Whether the user has finished this lesson.
16 |
# File 'lib/whop_sdk/models/course_lesson_interaction_list_item.rb', line 16 required :completed, WhopSDK::Internal::Type::Boolean |
#created_at ⇒ Time
The datetime the lesson interaction was created.
22 |
# File 'lib/whop_sdk/models/course_lesson_interaction_list_item.rb', line 22 required :created_at, Time |
#id ⇒ String
The unique identifier for the lesson interaction.
10 |
# File 'lib/whop_sdk/models/course_lesson_interaction_list_item.rb', line 10 required :id, String |
#lesson ⇒ WhopSDK::Models::CourseLessonInteractionListItem::Lesson
The lesson that this progress record belongs to.
28 |
# File 'lib/whop_sdk/models/course_lesson_interaction_list_item.rb', line 28 required :lesson, -> { WhopSDK::CourseLessonInteractionListItem::Lesson } |
#user ⇒ WhopSDK::Models::CourseLessonInteractionListItem::User
The user whose progress is being tracked.
34 |
# File 'lib/whop_sdk/models/course_lesson_interaction_list_item.rb', line 34 required :user, -> { WhopSDK::CourseLessonInteractionListItem::User } |