LabEntry

data class LabEntry(val id: String, val name: String, val description: String? = null, val meters: List<String> = listOf(), val reservations: List<LabReservation> = listOf(), val users: List<UserPermission> = listOf(), val features: List<String> = listOf(), val summary: InstanceSummary? = null, val taskSummary: TaskBackendSummary? = null, val guestAccess: Boolean = false, val staffAccess: Boolean = false, val online: Boolean? = null, val taskOnline: Boolean? = null)

Represents a lab instance

Constructors

Link copied to clipboard
constructor(id: String, name: String, description: String? = null, meters: List<String> = listOf(), reservations: List<LabReservation> = listOf(), users: List<UserPermission> = listOf(), features: List<String> = listOf(), summary: InstanceSummary? = null, taskSummary: TaskBackendSummary? = null, guestAccess: Boolean = false, staffAccess: Boolean = false, online: Boolean? = null, taskOnline: Boolean? = null)

Properties

Link copied to clipboard
val description: String? = null

human-readable description

Link copied to clipboard
Link copied to clipboard
val guestAccess: Boolean = false

guest access is available (for displaying icons)

Link copied to clipboard
val id: String

unique id for API calls

Link copied to clipboard
Link copied to clipboard

human-readable name

Link copied to clipboard
val online: Boolean? = null

lab is online (for displaying icons)

Link copied to clipboard
Link copied to clipboard
val staffAccess: Boolean = false

staff access is available (for displaying icons)

Link copied to clipboard
Link copied to clipboard
val taskOnline: Boolean? = null

task handler is online (for displaying icons)

Link copied to clipboard
Link copied to clipboard