Record Class Localization.Command.Prompt
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Prompt
- Enclosing class:
Localization.Command
public static record Localization.Command.Prompt(String message, String hard, String accept, String turn, String type, String reason, String category, String id, String time, String repeatTime, String multipleVote, String player, String number, String color, String language, String url, String move, String value)
extends Record
- Since:
- 1.7.1
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPrompt(String message, String hard, String accept, String turn, String type, String reason, String category, String id, String time, String repeatTime, String multipleVote, String player, String number, String color, String language, String url, String move, String value) Creates an instance of aPromptrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccept()Returns the value of theacceptrecord component.builder()category()Returns the value of thecategoryrecord component.color()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.hard()Returns the value of thehardrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.language()Returns the value of thelanguagerecord component.message()Returns the value of themessagerecord component.move()Returns the value of themoverecord component.Returns the value of themultipleVoterecord component.number()Returns the value of thenumberrecord component.player()Returns the value of theplayerrecord component.reason()Returns the value of thereasonrecord component.Returns the value of therepeatTimerecord component.time()Returns the value of thetimerecord component.final StringtoString()Returns a string representation of this record class.turn()Returns the value of theturnrecord component.type()Returns the value of thetyperecord component.url()Returns the value of theurlrecord component.value()Returns the value of thevaluerecord component.withAccept(String accept) withCategory(String category) withLanguage(String language) withMessage(String message) withMultipleVote(String multipleVote) withNumber(String number) withPlayer(String player) withReason(String reason) withRepeatTime(String repeatTime)
-
Constructor Details
-
Prompt
public Prompt(String message, String hard, String accept, String turn, String type, String reason, String category, String id, String time, String repeatTime, String multipleVote, String player, String number, String color, String language, String url, String move, String value) Creates an instance of aPromptrecord class.- Parameters:
message- the value for themessagerecord componenthard- the value for thehardrecord componentaccept- the value for theacceptrecord componentturn- the value for theturnrecord componenttype- the value for thetyperecord componentreason- the value for thereasonrecord componentcategory- the value for thecategoryrecord componentid- the value for theidrecord componenttime- the value for thetimerecord componentrepeatTime- the value for therepeatTimerecord componentmultipleVote- the value for themultipleVoterecord componentplayer- the value for theplayerrecord componentnumber- the value for thenumberrecord componentcolor- the value for thecolorrecord componentlanguage- the value for thelanguagerecord componenturl- the value for theurlrecord componentmove- the value for themoverecord componentvalue- the value for thevaluerecord component
-
-
Method Details
-
builder
-
toBuilder
-
withMessage
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withHard
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withAccept
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTurn
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withType
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withReason
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withCategory
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTime
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRepeatTime
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMultipleVote
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withPlayer
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withNumber
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withColor
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLanguage
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUrl
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMove
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withValue
- 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). -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
hard
Returns the value of thehardrecord component.- Returns:
- the value of the
hardrecord component
-
accept
Returns the value of theacceptrecord component.- Returns:
- the value of the
acceptrecord component
-
turn
Returns the value of theturnrecord component.- Returns:
- the value of the
turnrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
category
Returns the value of thecategoryrecord component.- Returns:
- the value of the
categoryrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
time
Returns the value of thetimerecord component.- Returns:
- the value of the
timerecord component
-
repeatTime
Returns the value of therepeatTimerecord component.- Returns:
- the value of the
repeatTimerecord component
-
multipleVote
Returns the value of themultipleVoterecord component.- Returns:
- the value of the
multipleVoterecord component
-
player
Returns the value of theplayerrecord component.- Returns:
- the value of the
playerrecord component
-
number
Returns the value of thenumberrecord component.- Returns:
- the value of the
numberrecord component
-
color
Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
language
Returns the value of thelanguagerecord component.- Returns:
- the value of the
languagerecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
move
Returns the value of themoverecord component.- Returns:
- the value of the
moverecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-