Record Class Localization.Command.Chatsetting.Menu
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Localization.Command.Chatsetting.Menu
- Enclosing class:
Localization.Command.Chatsetting
public static record Localization.Command.Chatsetting.Menu(Localization.Command.Chatsetting.Menu.SubMenu chat, Localization.Command.Chatsetting.Menu.SubMenu see, Localization.Command.Chatsetting.Menu.SubMenu out)
extends Record
- Since:
- 1.7.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionMenu(Localization.Command.Chatsetting.Menu.SubMenu chat, Localization.Command.Chatsetting.Menu.SubMenu see, Localization.Command.Chatsetting.Menu.SubMenu out) Creates an instance of aMenurecord class. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()chat()Returns the value of thechatrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.out()Returns the value of theoutrecord component.see()Returns the value of theseerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Menu
public Menu(Localization.Command.Chatsetting.Menu.SubMenu chat, Localization.Command.Chatsetting.Menu.SubMenu see, Localization.Command.Chatsetting.Menu.SubMenu out) Creates an instance of aMenurecord class.- Parameters:
chat- the value for thechatrecord componentsee- the value for theseerecord componentout- the value for theoutrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withChat
public Localization.Command.Chatsetting.Menu withChat(Localization.Command.Chatsetting.Menu.SubMenu chat) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withSee
public Localization.Command.Chatsetting.Menu withSee(Localization.Command.Chatsetting.Menu.SubMenu see) - Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withOut
public Localization.Command.Chatsetting.Menu withOut(Localization.Command.Chatsetting.Menu.SubMenu out) - 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). -
chat
Returns the value of thechatrecord component.- Returns:
- the value of the
chatrecord component
-
see
Returns the value of theseerecord component.- Returns:
- the value of the
seerecord component
-
out
Returns the value of theoutrecord component.- Returns:
- the value of the
outrecord component
-