Identity

data class Identity(val userId: Long, val username: String, val fullName: String?, val email: String?, val teacherCourses: Set<Long>, val teacherCourseDetails: Map<Long, CourseReference> = emptyMap(), val assistantCourses: Set<Long>, val staffCourses: Set<Long>, val enrolledCourses: Set<Long>)(source)

Constructors

Link copied to clipboard
constructor(userId: Long, username: String, fullName: String?, email: String?, teacherCourses: Set<Long>, teacherCourseDetails: Map<Long, CourseReference> = emptyMap(), assistantCourses: Set<Long>, staffCourses: Set<Long>, enrolledCourses: Set<Long>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun roleFor(courseId: Long): Role