Package ai.nexconn.chat.channel.model
Class ChannelIdentifier
-
- All Implemented Interfaces:
public class ChannelIdentifierIdentifies a channel by its type and ID.
-
-
Field Summary
Fields Modifier and Type Field Description private final ChannelTypechannelTypeprivate final StringchannelId
-
Constructor Summary
Constructors Constructor Description ChannelIdentifier(ChannelType channelType, String channelId)
-
Method Summary
Modifier and Type Method Description ChannelTypegetChannelType()StringgetChannelId()Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Constructor Detail
-
ChannelIdentifier
ChannelIdentifier(ChannelType channelType, String channelId)
- Parameters:
channelType- The type of the channelchannelId- The unique identifier of the channel
-
-
Method Detail
-
getChannelType
ChannelType getChannelType()
-
getChannelId
String getChannelId()
-
equals
Boolean equals(Object other)
-
hashCode
Integer hashCode()
-
toString
String toString()
-
-
-
-