Record Class InviteCodeList
java.lang.Object
java.lang.Record
com.mojang.realmsclient.dto.InviteCodeList
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<InviteCode> The field for theinviteCodesrecord component.private static final org.slf4j.Logger -
Constructor Summary
ConstructorsConstructorDescriptionInviteCodeList(List<InviteCode> inviteCodes) Creates an instance of aInviteCodeListrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.private static JsonArrayfinal inthashCode()Returns a hash code value for this object.Returns the value of theinviteCodesrecord component.static InviteCodeListfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
inviteCodes
The field for theinviteCodesrecord component. -
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
InviteCodeList
Creates an instance of aInviteCodeListrecord class.- Parameters:
inviteCodes- the value for theinviteCodesrecord component
-
-
Method Details
-
parse
-
getInviteCodesArray
-
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). -
inviteCodes
Returns the value of theinviteCodesrecord component.- Returns:
- the value of the
inviteCodesrecord component
-