Record Class YggdrasilServicesKeyInfo.KeySetResponse
java.lang.Object
java.lang.Record
com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo.KeySetResponse
- Enclosing class:
YggdrasilServicesKeyInfo
private static record YggdrasilServicesKeyInfo.KeySetResponse(@Nullable List<YggdrasilServicesKeyInfo.KeyData> profilePropertyKeys, @Nullable List<YggdrasilServicesKeyInfo.KeyData> playerCertificateKeys)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<YggdrasilServicesKeyInfo.KeyData> The field for theplayerCertificateKeysrecord component.private final List<YggdrasilServicesKeyInfo.KeyData> The field for theprofilePropertyKeysrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateKeySetResponse(List<YggdrasilServicesKeyInfo.KeyData> profilePropertyKeys, List<YggdrasilServicesKeyInfo.KeyData> playerCertificateKeys) Creates an instance of aKeySetResponserecord 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.Returns the value of theplayerCertificateKeysrecord component.Returns the value of theprofilePropertyKeysrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
profilePropertyKeys
@SerializedName("profilePropertyKeys") @Nullable private final List<YggdrasilServicesKeyInfo.KeyData> profilePropertyKeysThe field for theprofilePropertyKeysrecord component. -
playerCertificateKeys
@SerializedName("playerCertificateKeys") @Nullable private final List<YggdrasilServicesKeyInfo.KeyData> playerCertificateKeysThe field for theplayerCertificateKeysrecord component.
-
-
Constructor Details
-
KeySetResponse
private KeySetResponse(@Nullable List<YggdrasilServicesKeyInfo.KeyData> profilePropertyKeys, @Nullable List<YggdrasilServicesKeyInfo.KeyData> playerCertificateKeys) Creates an instance of aKeySetResponserecord class.- Parameters:
profilePropertyKeys- the value for theprofilePropertyKeysrecord componentplayerCertificateKeys- the value for theplayerCertificateKeysrecord 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). -
profilePropertyKeys
@SerializedName("profilePropertyKeys") @Nullable public List<YggdrasilServicesKeyInfo.KeyData> profilePropertyKeys()Returns the value of theprofilePropertyKeysrecord component.- Returns:
- the value of the
profilePropertyKeysrecord component
-
playerCertificateKeys
@SerializedName("playerCertificateKeys") @Nullable public List<YggdrasilServicesKeyInfo.KeyData> playerCertificateKeys()Returns the value of theplayerCertificateKeysrecord component.- Returns:
- the value of the
playerCertificateKeysrecord component
-