SavedCourse
object SavedCourse
Object used for managing a saved course
Type members
Classlikes
case class SavedCourse(courseId: CourseIdentifier, description: Option[String], quizList: List[Quiz]) extends Course
Case class for SavedCourse model
Case class for SavedCourse model
- Value parameters:
- courseId
course identifier
- description
description of the course (optional)
- quizList
quiz list of saved quiz
Value members
Concrete methods
Change the course identifier
Change the course identifier
- Value parameters:
- courseId
a new course identifier
- savedCourse
the saved course to edit
- Returns:
SavedCourse
Change the course description
Change the course description
- Value parameters:
- description
a new course description (optional)
- savedCourse
the saved course to edit
- Returns:
SavedCourse