Record Class MCCompanionBedrockResponse
java.lang.Object
java.lang.Record
com.zenith.feature.api.mccompanion.model.MCCompanionBedrockResponse
- All Implemented Interfaces:
ProfileData
-
Constructor Summary
ConstructorsConstructorDescriptionMCCompanionBedrockResponse(String gamertag, String xuid, UUID floodgateuid, String skinUrl) Creates an instance of aMCCompanionBedrockResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefloodgateuidrecord component.gamertag()Returns the value of thegamertagrecord component.final inthashCode()Returns a hash code value for this object.name()skinUrl()Returns the value of theskinUrlrecord component.final StringtoString()Returns a string representation of this record class.uuid()xuid()Returns the value of thexuidrecord component.
-
Constructor Details
-
MCCompanionBedrockResponse
Creates an instance of aMCCompanionBedrockResponserecord class.- Parameters:
gamertag- the value for thegamertagrecord componentxuid- the value for thexuidrecord componentfloodgateuid- the value for thefloodgateuidrecord componentskinUrl- the value for theskinUrlrecord component
-
-
Method Details
-
name
- Specified by:
namein interfaceProfileData
-
uuid
- Specified by:
uuidin 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). -
gamertag
Returns the value of thegamertagrecord component.- Returns:
- the value of the
gamertagrecord component
-
xuid
Returns the value of thexuidrecord component.- Returns:
- the value of the
xuidrecord component
-
floodgateuid
Returns the value of thefloodgateuidrecord component.- Returns:
- the value of the
floodgateuidrecord component
-
skinUrl
Returns the value of theskinUrlrecord component.- Returns:
- the value of the
skinUrlrecord component
-