Package com.dropbox.core.v2.team
Enum TeamMemberStatus.Tag
- java.lang.Object
-
- java.lang.Enum<TeamMemberStatus.Tag>
-
- com.dropbox.core.v2.team.TeamMemberStatus.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TeamMemberStatus.Tag>
- Enclosing class:
- TeamMemberStatus
public static enum TeamMemberStatus.Tag extends java.lang.Enum<TeamMemberStatus.Tag>
Discriminating tag type forTeamMemberStatus
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE
User has successfully joined the team.INVITED
User has been invited to a team, but has not joined the team yet.REMOVED
User is no longer a member of the team.SUSPENDED
User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TeamMemberStatus.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TeamMemberStatus.Tag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final TeamMemberStatus.Tag ACTIVE
User has successfully joined the team.
-
INVITED
public static final TeamMemberStatus.Tag INVITED
User has been invited to a team, but has not joined the team yet.
-
SUSPENDED
public static final TeamMemberStatus.Tag SUSPENDED
User is no longer a member of the team, but the account can be un-suspended, re-establishing the user as a team member.
-
REMOVED
public static final TeamMemberStatus.Tag REMOVED
User is no longer a member of the team. Removed users are only listed when include_removed is true in members/list.
-
-
Method Detail
-
values
public static TeamMemberStatus.Tag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TeamMemberStatus.Tag c : TeamMemberStatus.Tag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TeamMemberStatus.Tag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-