Package com.dropbox.core.v2.team
Enum MemberAddResult.Tag
- java.lang.Object
-
- java.lang.Enum<MemberAddResult.Tag>
-
- com.dropbox.core.v2.team.MemberAddResult.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MemberAddResult.Tag>
- Enclosing class:
- MemberAddResult
public static enum MemberAddResult.Tag extends java.lang.Enum<MemberAddResult.Tag>
Discriminating tag type forMemberAddResult
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DUPLICATE_EXTERNAL_MEMBER_ID
A user with the given external member ID already exists on the team (including in recoverable state).DUPLICATE_MEMBER_PERSISTENT_ID
A user with the given persistent ID already exists on the team (including in recoverable state).FREE_TEAM_MEMBER_LIMIT_REACHED
Team is already full.PERSISTENT_ID_DISABLED
Persistent ID is only available to teams with persistent ID SAML configuration.SUCCESS
Describes a user that was successfully added to the team.TEAM_LICENSE_LIMIT
Team is already full.USER_ALREADY_ON_TEAM
User is already on this team.USER_ALREADY_PAIRED
User is already paired.USER_CREATION_FAILED
User creation has failed.USER_MIGRATION_FAILED
User migration has failed.USER_ON_ANOTHER_TEAM
User is already on another team.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MemberAddResult.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MemberAddResult.Tag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEAM_LICENSE_LIMIT
public static final MemberAddResult.Tag TEAM_LICENSE_LIMIT
Team is already full. The organization has no available licenses.
-
FREE_TEAM_MEMBER_LIMIT_REACHED
public static final MemberAddResult.Tag FREE_TEAM_MEMBER_LIMIT_REACHED
Team is already full. The free team member limit has been reached.
-
USER_ALREADY_ON_TEAM
public static final MemberAddResult.Tag USER_ALREADY_ON_TEAM
User is already on this team. The provided email address is associated with a user who is already a member of (including in recoverable state) or invited to the team.
-
USER_ON_ANOTHER_TEAM
public static final MemberAddResult.Tag USER_ON_ANOTHER_TEAM
User is already on another team. The provided email address is associated with a user that is already a member or invited to another team.
-
USER_ALREADY_PAIRED
public static final MemberAddResult.Tag USER_ALREADY_PAIRED
User is already paired.
-
USER_MIGRATION_FAILED
public static final MemberAddResult.Tag USER_MIGRATION_FAILED
User migration has failed.
-
DUPLICATE_EXTERNAL_MEMBER_ID
public static final MemberAddResult.Tag DUPLICATE_EXTERNAL_MEMBER_ID
A user with the given external member ID already exists on the team (including in recoverable state).
-
DUPLICATE_MEMBER_PERSISTENT_ID
public static final MemberAddResult.Tag DUPLICATE_MEMBER_PERSISTENT_ID
A user with the given persistent ID already exists on the team (including in recoverable state).
-
PERSISTENT_ID_DISABLED
public static final MemberAddResult.Tag PERSISTENT_ID_DISABLED
Persistent ID is only available to teams with persistent ID SAML configuration. Please contact Dropbox for more information.
-
USER_CREATION_FAILED
public static final MemberAddResult.Tag USER_CREATION_FAILED
User creation has failed.
-
SUCCESS
public static final MemberAddResult.Tag SUCCESS
Describes a user that was successfully added to the team.
-
-
Method Detail
-
values
public static MemberAddResult.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 (MemberAddResult.Tag c : MemberAddResult.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 MemberAddResult.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
-
-