Implementation:Treeverse LakeFS Java SDK Model PullRequestBasic
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing basic pull request fields for creation or update in the lakeFS Java SDK.
Description
The PullRequestBasic class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to basic pull request fields through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when creating or updating pull requests with minimal fields 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/PullRequestBasic.java
- Lines: 1-395
Signature
public class PullRequestBasic {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.PullRequestBasic;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| status | StatusEnum | No | Pull request status (open, closed, merged) |
| title | String | No | Title of the pull request |
| description | String | No | Detailed description of the pull request |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation of the object |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.PullRequestBasic;
PullRequestBasic obj = new PullRequestBasic();
obj.setTitle("Update dataset schema");
obj.setStatus(PullRequestBasic.StatusEnum.OPEN);
obj.setDescription("Updated the schema for the main dataset");
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment