Implementation:Treeverse LakeFS Java SDK Model User
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing a user account in the lakeFS Java SDK.
Description
The User class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to user account fields through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when managing user accounts and retrieving user information 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/User.java
- Lines: 1-383
Signature
public class User {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.User;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| id | String | Yes | A unique identifier for the user (cannot be edited) |
| creation_date | Long | No | Epoch timestamp when the user was created |
| friendly_name | String | No | Human-readable display name for the user |
| String | No | Email address of the user |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation of the object |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.User;
User obj = new User();
obj.setId("jane.doe");
obj.setFriendlyName("Jane Doe");
obj.setEmail("jane@example.com");
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment