Enum Class UserPrivileges.Privilege

java.lang.Object
java.lang.Enum<UserPrivileges.Privilege>
com.uc4.api.objects.UserPrivileges.Privilege
All Implemented Interfaces:
Serializable, Comparable<UserPrivileges.Privilege>, Constable
Enclosing class:
UserPrivileges

public static enum UserPrivileges.Privilege extends Enum<UserPrivileges.Privilege>
Enumeration of all Privileges.
  • Enum Constant Details

  • Method Details

    • values

      public static UserPrivileges.Privilege[] 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 UserPrivileges.Privilege 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
    • notDeprecatedValues

      public static UserPrivileges.Privilege[] notDeprecatedValues()
    • isNotDeprecated

      public boolean isNotDeprecated()
    • getID

      public String getID()
      Returns:
      ID of the Privilege