Package pw.chew.clickup4j.api.entities
Enum Class Member.Role
- All Implemented Interfaces:
Serializable
,Comparable<Member.Role>
,Constable
- Enclosing interface:
Member
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionHas the ability to manage the workspace, invite new members, and even manage other admins, but not the owner.Cannot be added to spaces, and must be invited to lists, docs, or tasks.Has access to public spaces, docs, and dashboards.The owner of the workspace, and has full access to the workspace.Placeholder for a role unknown to this library. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static Member.Role
Returns the enum constant of this class with the specified name.static Member.Role[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OWNER
The owner of the workspace, and has full access to the workspace. -
ADMIN
Has the ability to manage the workspace, invite new members, and even manage other admins, but not the owner. -
MEMBER
Has access to public spaces, docs, and dashboards. -
GUEST
Cannot be added to spaces, and must be invited to lists, docs, or tasks. -
UNKNOWN
Placeholder for a role unknown to this library.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-