Enum Class PlayerSaveResult.Outcome

java.lang.Object
java.lang.Enum<PlayerSaveResult.Outcome>
net.luckperms.rest.model.PlayerSaveResult.Outcome
All Implemented Interfaces:
Serializable, Comparable<PlayerSaveResult.Outcome>, Constable
Enclosing class:
PlayerSaveResult

public static enum PlayerSaveResult.Outcome extends Enum<PlayerSaveResult.Outcome>
  • Enum Constant Details

    • CLEAN_INSERT

      @SerializedName("clean_insert") public static final PlayerSaveResult.Outcome CLEAN_INSERT
    • NO_CHANGE

      @SerializedName("no_change") public static final PlayerSaveResult.Outcome NO_CHANGE
    • USERNAME_UPDATED

      @SerializedName("username_updated") public static final PlayerSaveResult.Outcome USERNAME_UPDATED
    • OTHER_UNIQUE_IDS_PRESENT_FOR_USERNAME

      @SerializedName("other_unique_ids_present_for_username") public static final PlayerSaveResult.Outcome OTHER_UNIQUE_IDS_PRESENT_FOR_USERNAME
  • Method Details

    • values

      public static PlayerSaveResult.Outcome[] 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 PlayerSaveResult.Outcome 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