Enum Class DemotionResult.Status

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

public static enum DemotionResult.Status extends Enum<DemotionResult.Status>
  • Enum Constant Details

    • SUCCESS

      @SerializedName("success") public static final DemotionResult.Status SUCCESS
    • REMOVED_FROM_FIRST_GROUP

      @SerializedName("removed_from_first_group") public static final DemotionResult.Status REMOVED_FROM_FIRST_GROUP
    • MALFORMED_TRACK

      @SerializedName("malformed_track") public static final DemotionResult.Status MALFORMED_TRACK
    • NOT_ON_TRACK

      @SerializedName("not_on_track") public static final DemotionResult.Status NOT_ON_TRACK
    • AMBIGUOUS_CALL

      @SerializedName("ambiguous_call") public static final DemotionResult.Status AMBIGUOUS_CALL
    • UNDEFINED_FAILURE

      @SerializedName("undefined_failure") public static final DemotionResult.Status UNDEFINED_FAILURE
  • Method Details

    • values

      public static DemotionResult.Status[] 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 DemotionResult.Status 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