Package ch.rswk.meta.engine.test
Record Class UserServiceTest.LoginAndAuthReply
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.test.UserServiceTest.LoginAndAuthReply
- Enclosing class:
UserServiceTest
static record UserServiceTest.LoginAndAuthReply(@Nullable AuthReply authReply, LoginReply loginReply)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable AuthReplyThe field for theauthReplyrecord component.private final LoginReplyThe field for theloginReplyrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionLoginAndAuthReply(@Nullable AuthReply authReply, LoginReply loginReply) Creates an instance of aLoginAndAuthReplyrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable AuthReplyReturns the value of theauthReplyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theloginReplyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
authReply
The field for theauthReplyrecord component. -
loginReply
The field for theloginReplyrecord component.
-
-
Constructor Details
-
LoginAndAuthReply
LoginAndAuthReply(@Nullable AuthReply authReply, LoginReply loginReply) Creates an instance of aLoginAndAuthReplyrecord class.- Parameters:
authReply- the value for theauthReplyrecord componentloginReply- the value for theloginReplyrecord 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 withObjects::equals(Object,Object). -
authReply
Returns the value of theauthReplyrecord component.- Returns:
- the value of the
authReplyrecord component
-
loginReply
Returns the value of theloginReplyrecord component.- Returns:
- the value of the
loginReplyrecord component
-