Version

@Serializable
data class Version(val semver: String, val major: Int, val minor: Int, val patch: Int, val preRelease: String?)

Representation of a Lavalink version.

Constructors

Link copied to clipboard
constructor(semver: String, major: Int, minor: Int, patch: Int, preRelease: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val major: Int

the major version of this Lavalink server

Link copied to clipboard
val minor: Int

the minor version of this Lavalink server

Link copied to clipboard
val patch: Int

the patch version of this Lavalink server

Link copied to clipboard

the pre-release version according to semver as a . separated list of identifiers

Link copied to clipboard

the full version string of this Lavalink server

Functions

Link copied to clipboard
operator fun compareTo(other: Version): Int
Link copied to clipboard
open override fun toString(): String