Enum Class SkinModel

java.lang.Object
java.lang.Enum<SkinModel>
lol.trq.alts.account.SkinModel
All Implemented Interfaces:
Serializable, Comparable<SkinModel>, Constable

public enum SkinModel extends Enum<SkinModel>
The arm model a skin is drawn with. Minecraft calls these classic (4px arms, "Steve") and slim (3px arms, "Alex"); a skin uploaded with the wrong one renders with mismatched arms.
Since:
0.11.0
  • Enum Constant Details

    • CLASSIC

      @SerializedName("CLASSIC") public static final SkinModel CLASSIC
      The 4-pixel-arm model. The wire value is CLASSIC on a read and classic on a write.
      Since:
      0.11.0
    • SLIM

      @SerializedName("SLIM") public static final SkinModel SLIM
      The 3-pixel-arm model.
      Since:
      0.11.0
  • Method Details

    • values

      public static SkinModel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SkinModel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • apiVariant

      public String apiVariant()
      Returns the lowercase token the skin-change endpoint expects in its variant field.
      Returns:
      the API variant token
      Since:
      0.11.0