ExerciseGroup

data class ExerciseGroup(val id: Long, val name: String, val maxPoints: Int, val userPoints: Int, val htmlUrl: String, val isOpen: Boolean, exerciseOrder: List<Long>, val exercises: MutableList<Exercise>)

Constructors

Link copied to clipboard
constructor(id: Long, name: String, maxPoints: Int, userPoints: Int, htmlUrl: String, isOpen: Boolean, exerciseOrder: List<Long>, exercises: MutableList<Exercise>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addExercise(exercise: Exercise)

Adds an exercise or replaces an existing one.