public static enum BoxGroupMembership.GroupRole extends Enum<BoxGroupMembership.GroupRole>
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.GroupRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoxGroupMembership.GroupRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxGroupMembership.GroupRole ADMIN
public static final BoxGroupMembership.GroupRole MEMBER
public static BoxGroupMembership.GroupRole[] values()
for (BoxGroupMembership.GroupRole c : BoxGroupMembership.GroupRole.values()) System.out.println(c);
public static BoxGroupMembership.GroupRole 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