Package com.dropbox.core.v2.team
Enum MemberAddV2Result.Tag
- java.lang.Object
-
- java.lang.Enum<MemberAddV2Result.Tag>
-
- com.dropbox.core.v2.team.MemberAddV2Result.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MemberAddV2Result.Tag>
- Enclosing class:
- MemberAddV2Result
public static enum MemberAddV2Result.Tag extends java.lang.Enum<MemberAddV2Result.Tag>
Discriminating tag type forMemberAddV2Result
.
-
-
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.OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.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 MemberAddV2Result.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MemberAddV2Result.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 MemberAddV2Result.Tag TEAM_LICENSE_LIMIT
Team is already full. The organization has no available licenses.
-
FREE_TEAM_MEMBER_LIMIT_REACHED
public static final MemberAddV2Result.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 MemberAddV2Result.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 MemberAddV2Result.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 MemberAddV2Result.Tag USER_ALREADY_PAIRED
User is already paired.
-
USER_MIGRATION_FAILED
public static final MemberAddV2Result.Tag USER_MIGRATION_FAILED
User migration has failed.
-
DUPLICATE_EXTERNAL_MEMBER_ID
public static final MemberAddV2Result.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 MemberAddV2Result.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 MemberAddV2Result.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 MemberAddV2Result.Tag USER_CREATION_FAILED
User creation has failed.
-
SUCCESS
public static final MemberAddV2Result.Tag SUCCESS
Describes a user that was successfully added to the team.
-
OTHER
public static final MemberAddV2Result.Tag OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.Receiving a catch-all value typically indicates this SDK version is not up to date. Consider updating your SDK version to handle the new tags.
-
-
Method Detail
-
values
public static MemberAddV2Result.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 (MemberAddV2Result.Tag c : MemberAddV2Result.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 MemberAddV2Result.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
-
-