Record Class Integration.Litebans
java.lang.Object
java.lang.Record
net.flectone.pulse.config.Integration.Litebans
- All Implemented Interfaces:
EnableSetting
- Enclosing class:
Integration
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns the value of thedisableFlectonepulseBanrecord component.Returns the value of thedisableFlectonepulseKickrecord component.Returns the value of thedisableFlectonepulseMuterecord component.Returns the value of thedisableFlectonepulseWarnrecord component.enable()Returns the value of theenablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.withDisableFlectonepulseBan(Boolean disableFlectonepulseBan) withDisableFlectonepulseKick(Boolean disableFlectonepulseKick) withDisableFlectonepulseMute(Boolean disableFlectonepulseMute) withDisableFlectonepulseWarn(Boolean disableFlectonepulseWarn) withEnable(Boolean enable)
-
Constructor Details
-
Litebans
public Litebans(Boolean enable, Boolean disableFlectonepulseBan, Boolean disableFlectonepulseMute, Boolean disableFlectonepulseWarn, Boolean disableFlectonepulseKick) Creates an instance of aLitebansrecord class.- Parameters:
enable- the value for theenablerecord componentdisableFlectonepulseBan- the value for thedisableFlectonepulseBanrecord componentdisableFlectonepulseMute- the value for thedisableFlectonepulseMuterecord componentdisableFlectonepulseWarn- the value for thedisableFlectonepulseWarnrecord componentdisableFlectonepulseKick- the value for thedisableFlectonepulseKickrecord component
-
-
Method Details
-
builder
-
toBuilder
-
withEnable
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDisableFlectonepulseBan
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDisableFlectonepulseMute
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDisableFlectonepulseWarn
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDisableFlectonepulseKick
- 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). -
enable
Returns the value of theenablerecord component.- Specified by:
enablein interfaceEnableSetting- Returns:
- the value of the
enablerecord component
-
disableFlectonepulseBan
Returns the value of thedisableFlectonepulseBanrecord component.- Returns:
- the value of the
disableFlectonepulseBanrecord component
-
disableFlectonepulseMute
Returns the value of thedisableFlectonepulseMuterecord component.- Returns:
- the value of the
disableFlectonepulseMuterecord component
-
disableFlectonepulseWarn
Returns the value of thedisableFlectonepulseWarnrecord component.- Returns:
- the value of the
disableFlectonepulseWarnrecord component
-
disableFlectonepulseKick
Returns the value of thedisableFlectonepulseKickrecord component.- Returns:
- the value of the
disableFlectonepulseKickrecord component
-