Record Class PrioBanStatusUpdateEvent
java.lang.Object
java.lang.Record
com.zenith.event.client.PrioBanStatusUpdateEvent
-
Constructor Summary
ConstructorsConstructorDescriptionPrioBanStatusUpdateEvent(boolean prioBanned) Creates an instance of aPrioBanStatusUpdateEventrecord 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.booleanReturns the value of theprioBannedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PrioBanStatusUpdateEvent
public PrioBanStatusUpdateEvent(boolean prioBanned) Creates an instance of aPrioBanStatusUpdateEventrecord class.- Parameters:
prioBanned- the value for theprioBannedrecord 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 with thecomparemethod from their corresponding wrapper classes. -
prioBanned
public boolean prioBanned()Returns the value of theprioBannedrecord component.- Returns:
- the value of the
prioBannedrecord component
-