Package com.io7m.idstore.protocol.admin
Record Class IdACommandAdminBanCreate
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.IdACommandAdminBanCreate
- Record Components:
ban- The ban
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBMessageType,IdACommandType<IdAResponseAdminBanCreate>,IdAMessageType,IdProtocolMessageType
public record IdACommandAdminBanCreate(IdBan ban)
extends Record
implements IdACommandType<IdAResponseAdminBanCreate>
Ban an admin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionban()Returns the value of thebanrecord 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.
-
Constructor Details
-
IdACommandAdminBanCreate
Ban an admin.
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceIdACommandType<IdAResponseAdminBanCreate>- Returns:
- The response type associated with this command
-
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). -
ban
-