Implementation:Treeverse LakeFS Java SDK Model DiffList
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing a paginated list of diff entries in the lakeFS Java SDK.
Description
The DiffList class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to a paginated collection of Diff objects through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when retrieving paginated diff results from branch or commit comparisons 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/DiffList.java
- Lines: 1-342
Signature
public class DiffList {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.DiffList;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| pagination | Pagination | Yes | Pagination metadata for the list |
| results | List<Diff> | Yes | List of diff entries |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.DiffList;
DiffList obj = new DiffList();
obj.setPagination(paginationObj);
obj.setResults(diffResults);
Principle
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment