Record Class CAICommandLogin
java.lang.Object
java.lang.Record
com.io7m.cardant.protocol.inventory.CAICommandLogin
- Record Components:
userName- The usernamepassword- The passwordmetadata- Extra metadata included with the request
- All Implemented Interfaces:
CAProtocolMessageType, CAICommandType<CAIResponseLogin>, CAIMessageType, com.io7m.hibiscus.api.HBMessageType
public record CAICommandLogin(com.io7m.idstore.model.IdName userName, String password, Map<String,String> metadata)
extends Record
implements CAICommandType<CAIResponseLogin>
A request to log in.
-
Constructor Summary
ConstructorsConstructorDescriptionCAICommandLogin(com.io7m.idstore.model.IdName userName, String password, Map<String, String> metadata) A request to log in. -
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.metadata()Returns the value of themetadatarecord component.password()Returns the value of thepasswordrecord component.final StringtoString()Returns a string representation of this record class.com.io7m.idstore.model.IdNameuserName()Returns the value of theuserNamerecord component.
-
Constructor Details
-
CAICommandLogin
-
-
Method Details
-
responseClass
- Specified by:
responseClassin interfaceCAICommandType<CAIResponseLogin>- 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). -
userName
-
password
-
metadata
-