Record Class ConnectRequest
java.lang.Object
java.lang.Record
ai.redouble.demo.ConnectRequest
The credential records a person provides for the session in one request.
-
Constructor Summary
ConstructorsConstructorDescriptionConnectRequest(List<SessionRecord> records) Creates an instance of aConnectRequestrecord 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.records()Returns the value of therecordsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectRequest
Creates an instance of aConnectRequestrecord class.- Parameters:
records- the value for therecordsrecord 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). -
records
Returns the value of therecordsrecord component.- Returns:
- the value of the
recordsrecord component
-