Record Class AuthManager.CheckServerTokenInfo
java.lang.Object
java.lang.Record
pro.gravit.launchserver.manangers.AuthManager.CheckServerTokenInfo
- Enclosing class:
AuthManager
-
Constructor Summary
ConstructorsConstructorDescriptionCheckServerTokenInfo(String serverName, String authId, boolean isPublic) Creates an instance of aCheckServerTokenInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionauthId()Returns the value of theauthIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisPublic()Returns the value of theisPublicrecord component.Returns the value of theserverNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CheckServerTokenInfo
Creates an instance of aCheckServerTokenInforecord class.- Parameters:
serverName- the value for theserverNamerecord componentauthId- the value for theauthIdrecord componentisPublic- the value for theisPublicrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
serverName
Returns the value of theserverNamerecord component.- Returns:
- the value of the
serverNamerecord component
-
authId
Returns the value of theauthIdrecord component.- Returns:
- the value of the
authIdrecord component
-
isPublic
public boolean isPublic()Returns the value of theisPublicrecord component.- Returns:
- the value of the
isPublicrecord component
-