Record Class CAICommandRolesGet
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.CAICommandRolesGet
- Record Components:
user- The user
- All Implemented Interfaces:
CAProtocolMessageType, CAICommandType<CAIResponseRolesGet>, CAIMessageType, com.io7m.hibiscus.api.HBMessageType
public record CAICommandRolesGet(CAUserID user)
extends Record
implements CAICommandType<CAIResponseRolesGet>
Retrieve the roles for the given user.
-
Constructor Summary
Constructors -
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.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Constructor Details
-
CAICommandRolesGet
Retrieve the roles for the given user.- Parameters:
user- The user
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceCAICommandType<CAIResponseRolesGet>- Returns:
- The response class associated with this command (excluding the error response)
-
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). -
user
-