All Downloads are FREE. Search and download functionalities are using the official Maven repository.

avokka.arangodb.models.Version.scala Maven / Gradle / Ivy

The newest version!
package avokka.arangodb
package models

import avokka.velocypack._

/**
  * @param server  will always contain arango
  * @param license the server license
  * @param version the server version string. The string has the format
  *                "major.minor.sub". major and minor will be numeric, and sub
  *                may contain a number or a textual version
  * @param details additional information about included components and their versions
  */
final case class Version(
    server: String,
    license: String,
    version: String,
    details: Map[String, String] = Map.empty
)

object Version {
  implicit val decoder: VPackDecoder[Version] = VPackDecoder.gen
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy