Implementation:Treeverse LakeFS Java SDK Model UsageReport
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing a monthly usage report entry in the lakeFS Java SDK.
Description
The UsageReport class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to usage report fields through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when retrieving usage reports and metrics 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/UsageReport.java
- Lines: 1-347
Signature
public class UsageReport {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.UsageReport;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| year | Integer | Yes | Year of the usage report |
| month | Integer | Yes | Month of the usage report |
| count | Long | Yes | Total usage count for the period |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation of the object |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.UsageReport;
UsageReport obj = new UsageReport();
obj.setYear(2026);
obj.setMonth(2);
obj.setCount(15000L);
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment