版本信息

data class VersionInfo(val version: String, val language: String, val languageVersion: String? = null, val legacyLanguageVersion: String? = null)

Response for the /version endpoint.

Exactly one of languageVersion and legacyLanguageVersion is set; adkJson omits the other, so the response never carries both spellings for a strict decoder to reject.

构造函数(Constructors)

Link copied to clipboard
constructor(version: String, language: String, languageVersion: String? = null, legacyLanguageVersion: String? = null)

类型

Link copied to clipboard
object Companion

属性(Properties)

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(`value` = “language_version”)
val legacyLanguageVersion: String?
Link copied to clipboard