Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Implementation:Treeverse LakeFS Java SDK Model CommitList

From Leeroopedia


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 commits in the lakeFS Java SDK.

Description

The CommitList 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 Commit objects through getter/setter methods and supports JSON serialization via Gson.

Usage

Use this model when retrieving paginated commit history listings through the lakeFS Java SDK API classes.

Code Reference

Source Location

Signature

public class CommitList {
    // Fields with @SerializedName annotations
    // Getter/setter methods
    // equals, hashCode, toString
    // JSON type adapter
}

Import

import io.lakefs.clients.sdk.model.CommitList;

I/O Contract

Inputs

Name Type Required Description
pagination Pagination Yes Pagination metadata for the list
results List<Commit> Yes List of commit records

Outputs

Name Type Description
JSON String Serialized JSON representation

Usage Examples

Creating an Instance

import io.lakefs.clients.sdk.model.CommitList;

CommitList obj = new CommitList();
obj.setPagination(paginationObj);
obj.setResults(commitResults);

Principle

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment