Enum Class Member.Role

java.lang.Object
java.lang.Enum<Member.Role>
pw.chew.clickup4j.api.entities.Member.Role
All Implemented Interfaces:
Serializable, Comparable<Member.Role>, Constable
Enclosing interface:
Member

public static enum Member.Role extends Enum<Member.Role>
  • Enum Constant Details

    • OWNER

      public static final Member.Role OWNER
      The owner of the workspace, and has full access to the workspace.
    • ADMIN

      public static final Member.Role ADMIN
      Has the ability to manage the workspace, invite new members, and even manage other admins, but not the owner.
    • MEMBER

      public static final Member.Role MEMBER
      Has access to public spaces, docs, and dashboards.
    • GUEST

      public static final Member.Role GUEST
      Cannot be added to spaces, and must be invited to lists, docs, or tasks.
    • UNKNOWN

      public static final Member.Role UNKNOWN
      Placeholder for a role unknown to this library.
  • Method Details

    • values

      public static Member.Role[] 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 Member.Role 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
    • getValue

      public int getValue()