Record Class HasJoinedMinecraftServerResponse
java.lang.Object
java.lang.Record
com.mojang.authlib.yggdrasil.response.HasJoinedMinecraftServerResponse
public record HasJoinedMinecraftServerResponse(@Nullable UUID id, @Nullable PropertyMap properties, @Nullable Set<ProfileAction> profileActions)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final UUIDThe field for theidrecord component.private final Set<ProfileAction> The field for theprofileActionsrecord component.private final PropertyMapThe field for thepropertiesrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionHasJoinedMinecraftServerResponse(UUID id, PropertyMap properties, Set<ProfileAction> profileActions) Creates an instance of aHasJoinedMinecraftServerResponserecord 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.id()Returns the value of theidrecord component.Returns the value of theprofileActionsrecord component.Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
properties
The field for thepropertiesrecord component. -
profileActions
The field for theprofileActionsrecord component.
-
-
Constructor Details
-
HasJoinedMinecraftServerResponse
public HasJoinedMinecraftServerResponse(@Nullable UUID id, @Nullable PropertyMap properties, @Nullable Set<ProfileAction> profileActions) Creates an instance of aHasJoinedMinecraftServerResponserecord class.- Parameters:
id- the value for theidrecord componentproperties- the value for thepropertiesrecord componentprofileActions- the value for theprofileActionsrecord component
-
-
Method Details
-
profileActions
Returns the value of theprofileActionsrecord component.- Returns:
- the value of the
profileActionsrecord component
-
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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-