Record Class ChatUiConfig
java.lang.Object
java.lang.Record
io.mindspice.simplypages.components.chat.ChatUiConfig
public record ChatUiConfig(String conversationId, ChatTransportMode transportMode, String historyEndpoint, String streamEndpoint, String historyTargetSelector, String historySwap, Integer pollingIntervalMs)
extends Record
Simple UI hook config for chat refresh/send wiring.
History and message ownership remain application concerns; this config only defines client-facing hook metadata.
-
Constructor Summary
ConstructorsConstructorDescriptionChatUiConfig(String conversationId, ChatTransportMode transportMode, String historyEndpoint, String streamEndpoint, String historyTargetSelector, String historySwap, Integer pollingIntervalMs) Creates an instance of aChatUiConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconversationIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thehistoryEndpointrecord component.Returns the value of thehistorySwaprecord component.Returns the value of thehistoryTargetSelectorrecord component.Returns the value of thepollingIntervalMsrecord component.Returns the value of thestreamEndpointrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransportModerecord component.
-
Constructor Details
-
ChatUiConfig
public ChatUiConfig(String conversationId, ChatTransportMode transportMode, String historyEndpoint, String streamEndpoint, String historyTargetSelector, String historySwap, Integer pollingIntervalMs) Creates an instance of aChatUiConfigrecord class.- Parameters:
conversationId- the value for theconversationIdrecord componenttransportMode- the value for thetransportModerecord componenthistoryEndpoint- the value for thehistoryEndpointrecord componentstreamEndpoint- the value for thestreamEndpointrecord componenthistoryTargetSelector- the value for thehistoryTargetSelectorrecord componenthistorySwap- the value for thehistorySwaprecord componentpollingIntervalMs- the value for thepollingIntervalMsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
conversationId
Returns the value of theconversationIdrecord component.- Returns:
- the value of the
conversationIdrecord component
-
transportMode
Returns the value of thetransportModerecord component.- Returns:
- the value of the
transportModerecord component
-
historyEndpoint
Returns the value of thehistoryEndpointrecord component.- Returns:
- the value of the
historyEndpointrecord component
-
streamEndpoint
Returns the value of thestreamEndpointrecord component.- Returns:
- the value of the
streamEndpointrecord component
-
historyTargetSelector
Returns the value of thehistoryTargetSelectorrecord component.- Returns:
- the value of the
historyTargetSelectorrecord component
-
historySwap
Returns the value of thehistorySwaprecord component.- Returns:
- the value of the
historySwaprecord component
-
pollingIntervalMs
Returns the value of thepollingIntervalMsrecord component.- Returns:
- the value of the
pollingIntervalMsrecord component
-