AssignmentReport

data class AssignmentReport: Any

Represents a report of information that was generated during an Assignment's validation. This information will be listed on the Assignments "Validation Report" page.

Fields

Name Description
val id: Long

is a primary-key like generated value

val assignmentId: String

is a String with the relevant Assignment's ID

val type: InfoType

is the type of the report (e.g. Warning)

val message: String

is a short description of the problem (note that some problems only result in this message)

val description: String?

is the long description of the problem

Constructors

<init>

constructor(id: Long, assignmentId: String, type: InfoType, message: String, description: String?)

Represents a report of information that was generated during an Assignment's validation. This information will be listed on the Assignments "Validation Report" page.

Parameters

Name Description
id: Long
assignmentId: String
type: InfoType
message: String
description: String?

Methods

typeIcon

fun typeIcon(): String

ReturnValue

Name Description
String