Record Class MinetoolsProfileResponse
java.lang.Object
java.lang.Record
com.zenith.feature.api.minetools.model.MinetoolsProfileResponse
- All Implemented Interfaces:
ProfileData
public record MinetoolsProfileResponse(MinetoolsProfileResponseDecoded decoded)
extends Record
implements ProfileData
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aMinetoolsProfileResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptiondecoded()Returns the value of thedecodedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()final StringtoString()Returns a string representation of this record class.uuid()
-
Constructor Details
-
MinetoolsProfileResponse
Creates an instance of aMinetoolsProfileResponserecord class.- Parameters:
decoded- the value for thedecodedrecord component
-
-
Method Details
-
uuid
- Specified by:
uuidin interfaceProfileData
-
name
- Specified by:
namein interfaceProfileData
-
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). -
decoded
Returns the value of thedecodedrecord component.- Returns:
- the value of the
decodedrecord component
-