Record Class Skin
java.lang.Object
java.lang.Record
lol.trq.alts.account.Skin
- Record Components:
id- the skin's texture idstate- whether this skin is currently wornurl- the skin texture URLvariant- the arm model this skin uses
One skin on an account, as the profile read returns it.
- Since:
- 0.11.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether a skin is the one currently shown. -
Constructor Summary
ConstructorsConstructorDescriptionSkin(String id, Skin.State state, String url, SkinModel variant) Creates an instance of aSkinrecord 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.id()Returns the value of theidrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.variant()Returns the value of thevariantrecord component.
-
Constructor Details
-
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). -
id
-
state
-
url
-
variant
-