Record Class RequestMicrosoftAPIImpl.MojangProfileTexture
java.lang.Object
java.lang.Record
pro.gravit.launcher.base.request.RequestMicrosoftAPIImpl.MojangProfileTexture
- Enclosing class:
RequestMicrosoftAPIImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondigest()Returns the value of thedigestrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metadata()Returns the value of themetadatarecord component.final StringtoString()Returns a string representation of this record class.pro.gravit.launcher.core.api.model.Textureurl()Returns the value of theurlrecord component.
-
Constructor Details
-
MojangProfileTexture
Creates an instance of aMojangProfileTexturerecord class.- Parameters:
url- the value for theurlrecord componentdigest- the value for thedigestrecord componentmetadata- the value for themetadatarecord component
-
-
Method Details
-
toTexture
public pro.gravit.launcher.core.api.model.Texture toTexture() -
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). -
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
digest
Returns the value of thedigestrecord component.- Returns:
- the value of the
digestrecord component
-
metadata
-