Record Class Localization.Integration.Twitch
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Integration.Twitch
- All Implemented Interfaces:
LocalizationSetting
- Enclosing class:
Localization.Integration
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thecustomCommandrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theformatReplyrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themessageChannelrecord component.Returns the value of thenullPlayerrecord component.Returns the value of thesenderNamerecord component.final StringtoString()Returns a string representation of this record class.withCustomCommand(Map<String, String> customCommand) withFormatReply(String formatReply) withMessageChannel(Map<String, String> messageChannel) withNullPlayer(String nullPlayer) withSenderName(String senderName)
-
Constructor Details
-
Twitch
public Twitch(String nullPlayer, String senderName, String formatReply, Map<String, String> customCommand, Map<String, String> messageChannel) Creates an instance of aTwitchrecord class.- Parameters:
nullPlayer- the value for thenullPlayerrecord componentsenderName- the value for thesenderNamerecord componentformatReply- the value for theformatReplyrecord componentcustomCommand- the value for thecustomCommandrecord componentmessageChannel- the value for themessageChannelrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withNullPlayer
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSenderName
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withFormatReply
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCustomCommand
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMessageChannel
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
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). -
nullPlayer
Returns the value of thenullPlayerrecord component.- Returns:
- the value of the
nullPlayerrecord component
-
senderName
Returns the value of thesenderNamerecord component.- Returns:
- the value of the
senderNamerecord component
-
formatReply
Returns the value of theformatReplyrecord component.- Returns:
- the value of the
formatReplyrecord component
-
customCommand
-
messageChannel
-