Record Class RequestMicrosoftAPIImpl.MojangProfilePropertyTexture
java.lang.Object
java.lang.Record
pro.gravit.launcher.base.request.RequestMicrosoftAPIImpl.MojangProfilePropertyTexture
- Enclosing class:
RequestMicrosoftAPIImpl
-
Constructor Summary
ConstructorsConstructorDescriptionMojangProfilePropertyTexture(String profileId, String profileName, boolean signatureRequired, Map<String, RequestMicrosoftAPIImpl.MojangProfileTexture> textures) Creates an instance of aMojangProfilePropertyTexturerecord class. -
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.Returns the value of theprofileIdrecord component.Returns the value of theprofileNamerecord component.booleanReturns the value of thesignatureRequiredrecord component.textures()Returns the value of thetexturesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MojangProfilePropertyTexture
public MojangProfilePropertyTexture(String profileId, String profileName, boolean signatureRequired, Map<String, RequestMicrosoftAPIImpl.MojangProfileTexture> textures) Creates an instance of aMojangProfilePropertyTexturerecord class.- Parameters:
profileId- the value for theprofileIdrecord componentprofileName- the value for theprofileNamerecord componentsignatureRequired- the value for thesignatureRequiredrecord componenttextures- the value for thetexturesrecord 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. -
profileId
Returns the value of theprofileIdrecord component.- Returns:
- the value of the
profileIdrecord component
-
profileName
Returns the value of theprofileNamerecord component.- Returns:
- the value of the
profileNamerecord component
-
signatureRequired
public boolean signatureRequired()Returns the value of thesignatureRequiredrecord component.- Returns:
- the value of the
signatureRequiredrecord component
-
textures
Returns the value of thetexturesrecord component.- Returns:
- the value of the
texturesrecord component
-