public static enum BoxGroupMembership.Role extends Enum<BoxGroupMembership.Role>
Enum Constant and Description |
---|
ADMIN
The user is an administrator in the group.
|
MEMBER
The user is a regular member in the group.
|
Modifier and Type | Method and Description |
---|---|
static BoxGroupMembership.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxGroupMembership.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxGroupMembership.Role ADMIN
public static final BoxGroupMembership.Role MEMBER
public static BoxGroupMembership.Role[] values()
for (BoxGroupMembership.Role c : BoxGroupMembership.Role.values()) System.out.println(c);
public static BoxGroupMembership.Role valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null