Assessment

@Serializable
data class Assessment(val submissionId: Long? = null, val memberIds: List<Long> = emptyList(), val selections: Map<String, Assessment.CategorySelection> = emptyMap(), val fileAnnotations: Map<String, List<SarifAnnotation>> = emptyMap(), val generalFeedback: String = "", val staffNotes: String = "", val finalGrade: Int? = null)(source)

Constructors

Link copied to clipboard
constructor(submissionId: Long? = null, memberIds: List<Long> = emptyList(), selections: Map<String, Assessment.CategorySelection> = emptyMap(), fileAnnotations: Map<String, List<SarifAnnotation>> = emptyMap(), generalFeedback: String = "", staffNotes: String = "", finalGrade: Int? = null)

Types

Link copied to clipboard
@Serializable
data class CategorySelection(val items: List<Assessment.GeneralItem> = emptyList(), val pointsOverride: Int? = null, val comment: String = "", val grade: Int? = null)
Link copied to clipboard
object Companion
Link copied to clipboard
@Serializable
data class GeneralItem(val id: String, val phraseId: String? = null, val tone: String = "note", val content: String = "", val authorUserId: Long? = null)

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

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun withStampedAuthors(previous: Assessment?, editorUserId: Long): Assessment