Record Class AbuseReportRequest.RealmInfo
java.lang.Object
java.lang.Record
com.mojang.authlib.yggdrasil.request.AbuseReportRequest.RealmInfo
- Enclosing class:
AbuseReportRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.realmId()Returns the value of therealmIdrecord component.intslotId()Returns the value of theslotIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
realmId
The field for therealmIdrecord component. -
slotId
@SerializedName("slotId") private final int slotIdThe field for theslotIdrecord component.
-
-
Constructor Details
-
RealmInfo
Creates an instance of aRealmInforecord class.- Parameters:
realmId- the value for therealmIdrecord componentslotId- the value for theslotIdrecord 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. -
realmId
Returns the value of therealmIdrecord component.- Returns:
- the value of the
realmIdrecord component
-
slotId
@SerializedName("slotId") public int slotId()Returns the value of theslotIdrecord component.- Returns:
- the value of the
slotIdrecord component
-