Package com.dropbox.core.v2.team
Enum MembersSetProfileError
- java.lang.Object
-
- java.lang.Enum<MembersSetProfileError>
-
- com.dropbox.core.v2.team.MembersSetProfileError
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MembersSetProfileError>
public enum MembersSetProfileError extends java.lang.Enum<MembersSetProfileError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECTORY_RESTRICTED_OFF
Directory Restrictions option is not available.EMAIL_RESERVED_FOR_OTHER_USER
Email is already reserved for another user.EXTERNAL_ID_AND_NEW_EXTERNAL_ID_UNSAFE
It is unsafe to use both external_id and new_external_id.EXTERNAL_ID_USED_BY_OTHER_USER
The external ID is already in use by another team member.NO_NEW_DATA_SPECIFIED
None of new_email, new_given_name, new_surname, or new_external_id are specified.OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.PARAM_CANNOT_BE_EMPTY
Parameter new_email cannot be empty.PERSISTENT_ID_DISABLED
Persistent ID is only available to teams with persistent ID SAML configuration.PERSISTENT_ID_USED_BY_OTHER_USER
The persistent ID is already in use by another team member.SET_PROFILE_DISALLOWED
Modifying deleted users is not allowed.USER_NOT_FOUND
No matching user found.USER_NOT_IN_TEAM
The user is not a member of the team.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MembersSetProfileError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MembersSetProfileError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_NOT_FOUND
public static final MembersSetProfileError USER_NOT_FOUND
No matching user found. The provided team_member_id, email, or external_id does not exist on this team.
-
USER_NOT_IN_TEAM
public static final MembersSetProfileError USER_NOT_IN_TEAM
The user is not a member of the team.
-
EXTERNAL_ID_AND_NEW_EXTERNAL_ID_UNSAFE
public static final MembersSetProfileError EXTERNAL_ID_AND_NEW_EXTERNAL_ID_UNSAFE
It is unsafe to use both external_id and new_external_id.
-
NO_NEW_DATA_SPECIFIED
public static final MembersSetProfileError NO_NEW_DATA_SPECIFIED
None of new_email, new_given_name, new_surname, or new_external_id are specified.
-
EMAIL_RESERVED_FOR_OTHER_USER
public static final MembersSetProfileError EMAIL_RESERVED_FOR_OTHER_USER
Email is already reserved for another user.
-
EXTERNAL_ID_USED_BY_OTHER_USER
public static final MembersSetProfileError EXTERNAL_ID_USED_BY_OTHER_USER
The external ID is already in use by another team member.
-
SET_PROFILE_DISALLOWED
public static final MembersSetProfileError SET_PROFILE_DISALLOWED
Modifying deleted users is not allowed.
-
PARAM_CANNOT_BE_EMPTY
public static final MembersSetProfileError PARAM_CANNOT_BE_EMPTY
Parameter new_email cannot be empty.
-
PERSISTENT_ID_DISABLED
public static final MembersSetProfileError PERSISTENT_ID_DISABLED
Persistent ID is only available to teams with persistent ID SAML configuration. Please contact Dropbox for more information.
-
PERSISTENT_ID_USED_BY_OTHER_USER
public static final MembersSetProfileError PERSISTENT_ID_USED_BY_OTHER_USER
The persistent ID is already in use by another team member.
-
DIRECTORY_RESTRICTED_OFF
public static final MembersSetProfileError DIRECTORY_RESTRICTED_OFF
Directory Restrictions option is not available.
-
OTHER
public static final MembersSetProfileError 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 MembersSetProfileError[] 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 (MembersSetProfileError c : MembersSetProfileError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MembersSetProfileError 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
-
-