Record Class UserFeatureAPI.CheckServerResponse
java.lang.Object
java.lang.Record
pro.gravit.launcher.core.api.features.UserFeatureAPI.CheckServerResponse
- Enclosing interface:
UserFeatureAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thehardwareIdrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesessionIdrecord component.Returns the value of thesessionPropertiesrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Constructor Details
-
CheckServerResponse
public CheckServerResponse(User user, String hardwareId, String sessionId, Map<String, String> sessionProperties) Creates an instance of aCheckServerResponserecord class.- Parameters:
user- the value for theuserrecord componenthardwareId- the value for thehardwareIdrecord componentsessionId- the value for thesessionIdrecord componentsessionProperties- the value for thesessionPropertiesrecord 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). -
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-
hardwareId
Returns the value of thehardwareIdrecord component.- Returns:
- the value of the
hardwareIdrecord component
-
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
sessionProperties
-