package no.svorka.mcms.core

import kotlinx.serialization.json.JsonElement

/** `GET /ponmgr/version/` — best-effort display version. */
class VersionInfo(val raw: JsonElement) {
    val displayVersion: String?
        get() = raw["version"].string ?: raw["Version"].string ?: raw["ponmgr"]["version"].string
}
