toggle menu
A+ Courses
4.0.0-beta1
JVM
switch theme
search in API
A+ Courses
/
fi.aalto.cs.apluscourses.model.exercise
/
ExerciseGroup
Exercise
Group
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
>
)
Members
Constructors
Exercise
Group
Link copied to clipboard
constructor
(
id
:
Long
,
name
:
String
,
maxPoints
:
Int
,
userPoints
:
Int
,
htmlUrl
:
String
,
isOpen
:
Boolean
,
exerciseOrder
:
List
<
Long
>
,
exercises
:
MutableList
<
Exercise
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
exercises
Link copied to clipboard
val
exercises
:
MutableList
<
Exercise
>
html
Url
Link copied to clipboard
val
htmlUrl
:
String
id
Link copied to clipboard
val
id
:
Long
is
Open
Link copied to clipboard
val
isOpen
:
Boolean
max
Points
Link copied to clipboard
val
maxPoints
:
Int
name
Link copied to clipboard
val
name
:
String
user
Points
Link copied to clipboard
val
userPoints
:
Int
Functions
add
Exercise
Link copied to clipboard
fun
addExercise
(
exercise
:
Exercise
)
Adds an exercise or replaces an existing one.