Record Class IdACommandAdminDelete
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.IdACommandAdminDelete
- Record Components:
adminId- The admin ID
- All Implemented Interfaces:
com.io7m.hibiscus.api.HBMessageType, IdACommandType<IdAResponseAdminDelete>, IdAMessageType, IdProtocolMessageType
public record IdACommandAdminDelete(UUID adminId)
extends Record
implements IdACommandType<IdAResponseAdminDelete>
Delete an admin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadminId()Returns the value of theadminIdrecord 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
-
IdACommandAdminDelete
Delete an admin.
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceIdACommandType<IdAResponseAdminDelete>- 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). -
adminId
-