Implementation:Treeverse LakeFS Java SDK Model VersionConfig
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing version configuration and upgrade information in the lakeFS Java SDK.
Description
The VersionConfig class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to version configuration fields through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when checking the lakeFS server version and available upgrades through the lakeFS Java SDK API classes.
Code Reference
Source Location
- Repository: Treeverse_LakeFS
- File: clients/java/src/main/java/io/lakefs/clients/sdk/model/VersionConfig.java
- Lines: 1-405
Signature
public class VersionConfig {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.VersionConfig;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| version | String | No | Current version of the lakeFS server |
| version_context | String | No | Additional version context information |
| latest_version | String | No | Latest available version |
| upgrade_recommended | Boolean | No | Whether an upgrade is recommended |
| upgrade_url | String | No | URL with upgrade instructions |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation of the object |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.VersionConfig;
VersionConfig obj = new VersionConfig();
obj.setVersion("1.0.0");
obj.setLatestVersion("1.1.0");
obj.setUpgradeRecommended(true);
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment