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 CommPrefsInput

From Leeroopedia


Knowledge Sources
Domains Java_SDK, Data_Model
Last Updated 2026-02-08 00:00 GMT

Overview

Concrete data transfer object representing communication preferences input in the lakeFS Java SDK.

Description

The CommPrefsInput class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to communication preference fields through getter/setter methods and supports JSON serialization via Gson.

Usage

Use this model when submitting user communication preferences (email, feature updates, security updates) through the lakeFS Java SDK API classes.

Code Reference

Source Location

Signature

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

Import

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

I/O Contract

Inputs

Name Type Required Description
email String No The provided email address
featureUpdates Boolean No Whether to receive feature update notifications
securityUpdates Boolean No Whether to receive security update notifications

Outputs

Name Type Description
JSON String Serialized JSON representation

Usage Examples

Creating an Instance

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

CommPrefsInput obj = new CommPrefsInput();
obj.setEmail("user@example.com");
obj.setFeatureUpdates(true);
obj.setSecurityUpdates(true);

Principle

Related Pages

Page Connections

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