Package-level declarations

Types

Link copied to clipboard
data class Exercise(val id: Long, val name: String, val htmlUrl: String, val url: String, var submissionInfo: SubmissionInfo?, val submissionResults: MutableList<SubmissionResult>, val maxPoints: Int, val userPoints: Int, val maxSubmissions: Int, val bestSubmissionId: Long?, val difficulty: String = "", val isOptional: Boolean, val isSubmittable: Boolean, var isDetailsLoaded: Boolean = false)
Link copied to clipboard
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>)
Link copied to clipboard
class ExercisesTree(val exerciseGroups: MutableList<ExerciseGroup> = emptyList<ExerciseGroup>().toMutableList())
Link copied to clipboard
class Points(exercises: Map<Long, List<Long>>, submissions: Map<Long, List<Long>>, bestSubmissions: Map<Long, Long>)

Construct an instance with the given maps.

Link copied to clipboard
data class SubmissionFileInfo(val fileName: String, val url: String)
Link copied to clipboard
data class SubmissionInfo(val files: Map<String, List<SubmittableFile>>)
Link copied to clipboard
data class SubmissionResult(val id: Long, val url: String, val maxPoints: Int, val userPoints: Int, var latePenalty: Double?, var status: SubmissionResult.Companion.Status, val filesInfo: List<SubmissionFileInfo>, val testsSucceeded: Int = -1, val testsFailed: Int = -1, var isDetailsLoaded: Boolean = false)
Link copied to clipboard
data class SubmittableFile(val key: String, val name: String)