Record Class ChatSchema
java.lang.Object
java.lang.Record
com.zenith.feature.chatschema.ChatSchema
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChatSchema(String publicChat, String whisperInbound, String whisperOutbound) Creates an instance of aChatSchemarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepublicChatrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewhisperInboundrecord component.Returns the value of thewhisperOutboundrecord component.
-
Field Details
-
DEFAULT_SCHEMA
-
-
Constructor Details
-
ChatSchema
Creates an instance of aChatSchemarecord class.- Parameters:
publicChat- the value for thepublicChatrecord componentwhisperInbound- the value for thewhisperInboundrecord componentwhisperOutbound- the value for thewhisperOutboundrecord 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). -
publicChat
Returns the value of thepublicChatrecord component.- Returns:
- the value of the
publicChatrecord component
-
whisperInbound
Returns the value of thewhisperInboundrecord component.- Returns:
- the value of the
whisperInboundrecord component
-
whisperOutbound
Returns the value of thewhisperOutboundrecord component.- Returns:
- the value of the
whisperOutboundrecord component
-