Package ai.nexconn.chat.channel.model
Class OpenChannelMetadataChangeInfo
-
- All Implemented Interfaces:
public final class OpenChannelMetadataChangeInfoOpen channel metadata (KV) change info.
Represents a single key-value change in an open channel's metadata.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringchannelIdprivate final Stringkeyprivate final Stringvalueprivate final OpenChannelMetadataOperationTypeoperationType
-
Constructor Summary
Constructors Constructor Description OpenChannelMetadataChangeInfo(String channelId, String key, String value, OpenChannelMetadataOperationType operationType)
-
Method Summary
Modifier and Type Method Description final StringgetChannelId()final StringgetKey()final StringgetValue()final OpenChannelMetadataOperationTypegetOperationType()-
-
Constructor Detail
-
OpenChannelMetadataChangeInfo
OpenChannelMetadataChangeInfo(String channelId, String key, String value, OpenChannelMetadataOperationType operationType)
- Parameters:
channelId- Open channel IDkey- The metadata keyvalue- The metadata value;nullwhen removedoperationType- The type of metadata operation (update or remove)
-
-
Method Detail
-
getChannelId
final String getChannelId()
-
getKey
final String getKey()
-
getValue
final String getValue()
-
getOperationType
final OpenChannelMetadataOperationType getOperationType()
-
-
-
-