Package ch.rswk.meta.engine
Record Class UserService.UserTokenRequest
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.UserService.UserTokenRequest
- Enclosing class:
UserService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUserTokenRequest(@Nullable String password, String user) Creates an instance of aUserTokenRequestrecord class. -
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.@Nullable Stringpassword()Returns the value of thepasswordrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Field Details
-
password
The field for thepasswordrecord component. -
user
The field for theuserrecord component.
-
-
Constructor Details
-
UserTokenRequest
-
-
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). -
password
Returns the value of thepasswordrecord component.- Returns:
- the value of the
passwordrecord component
-
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-