UserProfile

data class UserProfile(val id: Long, val username: String, val fullName: String?, val email: String?, val enrolledCourseIds: Set<Long>, val staffCourseIds: Set<Long>, val teacherCourseIds: Set<Long>, val assistantCourseIds: Set<Long>)(source)

Constructors

Link copied to clipboard
constructor(id: Long, username: String, fullName: String?, email: String?, enrolledCourseIds: Set<Long>, staffCourseIds: Set<Long>, teacherCourseIds: Set<Long>, assistantCourseIds: Set<Long>)

Properties

Link copied to clipboard
Link copied to clipboard
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

Functions

Link copied to clipboard
fun isStaffOn(courseId: Long): Boolean

Returns whether this profile has any staff role on courseId.