Package com.dropbox.core.v2.team
Enum Class MembersSetProfileError
- All Implemented Interfaces:
Serializable,Comparable<MembersSetProfileError>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDirectory Restrictions option is not available.Email is already reserved for another user.It is unsafe to use both external_id and new_external_id.The external ID is already in use by another team member.None of new_email, new_given_name, new_surname, or new_external_id are specified.Catch-all used for unknown tag values returned by the Dropbox servers.Parameter new_email cannot be empty.Persistent ID is only available to teams with persistent ID SAML configuration.The persistent ID is already in use by another team member.Modifying deleted users is not allowed.No matching user found.The user is not a member of the team. -
Method Summary
Modifier and TypeMethodDescriptionstatic MembersSetProfileErrorReturns the enum constant of this class with the specified name.static MembersSetProfileError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
The user is not a member of the team. -
EXTERNAL_ID_AND_NEW_EXTERNAL_ID_UNSAFE
It is unsafe to use both external_id and new_external_id. -
NO_NEW_DATA_SPECIFIED
None of new_email, new_given_name, new_surname, or new_external_id are specified. -
EMAIL_RESERVED_FOR_OTHER_USER
Email is already reserved for another user. -
EXTERNAL_ID_USED_BY_OTHER_USER
The external ID is already in use by another team member. -
SET_PROFILE_DISALLOWED
Modifying deleted users is not allowed. -
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. Please contact Dropbox for more information. -
PERSISTENT_ID_USED_BY_OTHER_USER
The persistent ID is already in use by another team member. -
DIRECTORY_RESTRICTED_OFF
Directory Restrictions option is not available. -
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 Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-