Role

enum Role : Enum<Role>

Entries

STUDENT
Link copied to clipboard
STUDENT("student")
STAFF
Link copied to clipboard
STAFF("staff")
ADMIN
Link copied to clipboard
ADMIN("admin")
SUPER_ADMIN
Link copied to clipboard
SUPER_ADMIN("super_admin")

Types

Companion
Link copied to clipboard
object Companion

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: Role): Int
describeConstable
Link copied to clipboard
override fun describeConstable(): Optional<Enum.EnumDesc<Role>>
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
fun finalize()
getDeclaringClass
Link copied to clipboard
fun getDeclaringClass(): Class<Role>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
role
Link copied to clipboard
val role: String