Record Class AbuseReportRequest.ClientInfo
java.lang.Object
java.lang.Record
com.mojang.authlib.yggdrasil.request.AbuseReportRequest.ClientInfo
- Enclosing class:
AbuseReportRequest
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionClientInfo(String clientVersion, String locale) Creates an instance of aClientInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientVersionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.locale()Returns the value of thelocalerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
clientVersion
The field for theclientVersionrecord component. -
locale
The field for thelocalerecord component.
-
-
Constructor Details
-
ClientInfo
-
-
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). -
clientVersion
Returns the value of theclientVersionrecord component.- Returns:
- the value of the
clientVersionrecord component
-
locale
Returns the value of thelocalerecord component.- Returns:
- the value of the
localerecord component
-