Package com.dropbox.core.v2.team
Enum MembersRemoveError
- java.lang.Object
- 
- java.lang.Enum<MembersRemoveError>
- 
- com.dropbox.core.v2.team.MembersRemoveError
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<MembersRemoveError>
 
 public enum MembersRemoveError extends java.lang.Enum<MembersRemoveError> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CANNOT_KEEP_ACCOUNTOnly a team admin, can convert this account to a Basic account.CANNOT_KEEP_ACCOUNT_AND_DELETE_DATACannot keep account and delete the data at the same time.CANNOT_KEEP_ACCOUNT_AND_TRANSFERCannot keep account and transfer the data to another user at the same time.CANNOT_KEEP_ACCOUNT_REQUIRED_TO_SIGN_TOSTo convert this member to a Basic account, they'll first need to sign in to Dropbox and agree to the terms of service.CANNOT_KEEP_ACCOUNT_UNDER_LEGAL_HOLDThis user content is currently being held.CANNOT_KEEP_INVITED_USER_ACCOUNTCannot keep account of an invited user.CANNOT_RETAIN_SHARES_WHEN_DATA_WIPEDCannot retain team shares when the user's data is marked for deletion on their linked devices.CANNOT_RETAIN_SHARES_WHEN_NO_ACCOUNT_KEPTThe user's account must be kept in order to retain team shares.CANNOT_RETAIN_SHARES_WHEN_TEAM_EXTERNAL_SHARING_OFFExternally sharing files, folders, and links must be enabled in team settings in order to retain team shares for the user.EMAIL_ADDRESS_TOO_LONG_TO_BE_DISABLEDThe email address of the user is too long to be disabled.OTHERCatch-all used for unknown tag values returned by the Dropbox servers.RECIPIENT_NOT_VERIFIEDThe recipient user's email is not verified.REMOVE_LAST_ADMINThe user is the last admin of the team, so it cannot be removed from it.REMOVED_AND_TRANSFER_ADMIN_SHOULD_DIFFERExpected removed user and transfer_admin user to be different.REMOVED_AND_TRANSFER_DEST_SHOULD_DIFFERExpected removed user and transfer_dest user to be different.TRANSFER_ADMIN_IS_NOT_ADMINSpecified transfer_admin user is not a team admin.TRANSFER_ADMIN_USER_NOT_FOUNDNo matching user found for the argument transfer_admin_id.TRANSFER_ADMIN_USER_NOT_IN_TEAMThe provided transfer_admin_id does not exist on this team.TRANSFER_DEST_USER_NOT_FOUNDNo matching user found for the argument transfer_dest_id.TRANSFER_DEST_USER_NOT_IN_TEAMThe provided transfer_dest_id does not exist on this team.UNSPECIFIED_TRANSFER_ADMIN_IDThe transfer_admin_id argument must be provided when file transfer is requested.USER_NOT_FOUNDNo matching user found.USER_NOT_IN_TEAMThe user is not a member of the team.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static MembersRemoveErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MembersRemoveError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
USER_NOT_FOUNDpublic static final MembersRemoveError 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_TEAMpublic static final MembersRemoveError USER_NOT_IN_TEAM The user is not a member of the team.
 - 
OTHERpublic static final MembersRemoveError 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. 
 - 
REMOVED_AND_TRANSFER_DEST_SHOULD_DIFFERpublic static final MembersRemoveError REMOVED_AND_TRANSFER_DEST_SHOULD_DIFFER Expected removed user and transfer_dest user to be different.
 - 
REMOVED_AND_TRANSFER_ADMIN_SHOULD_DIFFERpublic static final MembersRemoveError REMOVED_AND_TRANSFER_ADMIN_SHOULD_DIFFER Expected removed user and transfer_admin user to be different.
 - 
TRANSFER_DEST_USER_NOT_FOUNDpublic static final MembersRemoveError TRANSFER_DEST_USER_NOT_FOUND No matching user found for the argument transfer_dest_id.
 - 
TRANSFER_DEST_USER_NOT_IN_TEAMpublic static final MembersRemoveError TRANSFER_DEST_USER_NOT_IN_TEAM The provided transfer_dest_id does not exist on this team.
 - 
TRANSFER_ADMIN_USER_NOT_IN_TEAMpublic static final MembersRemoveError TRANSFER_ADMIN_USER_NOT_IN_TEAM The provided transfer_admin_id does not exist on this team.
 - 
TRANSFER_ADMIN_USER_NOT_FOUNDpublic static final MembersRemoveError TRANSFER_ADMIN_USER_NOT_FOUND No matching user found for the argument transfer_admin_id.
 - 
UNSPECIFIED_TRANSFER_ADMIN_IDpublic static final MembersRemoveError UNSPECIFIED_TRANSFER_ADMIN_ID The transfer_admin_id argument must be provided when file transfer is requested.
 - 
TRANSFER_ADMIN_IS_NOT_ADMINpublic static final MembersRemoveError TRANSFER_ADMIN_IS_NOT_ADMIN Specified transfer_admin user is not a team admin.
 - 
RECIPIENT_NOT_VERIFIEDpublic static final MembersRemoveError RECIPIENT_NOT_VERIFIED The recipient user's email is not verified.
 - 
REMOVE_LAST_ADMINpublic static final MembersRemoveError REMOVE_LAST_ADMIN The user is the last admin of the team, so it cannot be removed from it.
 - 
CANNOT_KEEP_ACCOUNT_AND_TRANSFERpublic static final MembersRemoveError CANNOT_KEEP_ACCOUNT_AND_TRANSFER Cannot keep account and transfer the data to another user at the same time.
 - 
CANNOT_KEEP_ACCOUNT_AND_DELETE_DATApublic static final MembersRemoveError CANNOT_KEEP_ACCOUNT_AND_DELETE_DATA Cannot keep account and delete the data at the same time. To keep the account the argument wipe_data should be set tofalse.
 - 
EMAIL_ADDRESS_TOO_LONG_TO_BE_DISABLEDpublic static final MembersRemoveError EMAIL_ADDRESS_TOO_LONG_TO_BE_DISABLED The email address of the user is too long to be disabled.
 - 
CANNOT_KEEP_INVITED_USER_ACCOUNTpublic static final MembersRemoveError CANNOT_KEEP_INVITED_USER_ACCOUNT Cannot keep account of an invited user.
 - 
CANNOT_RETAIN_SHARES_WHEN_DATA_WIPEDpublic static final MembersRemoveError CANNOT_RETAIN_SHARES_WHEN_DATA_WIPED Cannot retain team shares when the user's data is marked for deletion on their linked devices. The argument wipe_data should be set tofalse.
 - 
CANNOT_RETAIN_SHARES_WHEN_NO_ACCOUNT_KEPTpublic static final MembersRemoveError CANNOT_RETAIN_SHARES_WHEN_NO_ACCOUNT_KEPT The user's account must be kept in order to retain team shares. The argument keep_account should be set totrue.
 - 
CANNOT_RETAIN_SHARES_WHEN_TEAM_EXTERNAL_SHARING_OFFpublic static final MembersRemoveError CANNOT_RETAIN_SHARES_WHEN_TEAM_EXTERNAL_SHARING_OFF Externally sharing files, folders, and links must be enabled in team settings in order to retain team shares for the user.
 - 
CANNOT_KEEP_ACCOUNTpublic static final MembersRemoveError CANNOT_KEEP_ACCOUNT Only a team admin, can convert this account to a Basic account.
 - 
CANNOT_KEEP_ACCOUNT_UNDER_LEGAL_HOLDpublic static final MembersRemoveError CANNOT_KEEP_ACCOUNT_UNDER_LEGAL_HOLD This user content is currently being held. To convert this member's account to a Basic account, you'll first need to remove them from the hold.
 - 
CANNOT_KEEP_ACCOUNT_REQUIRED_TO_SIGN_TOSpublic static final MembersRemoveError CANNOT_KEEP_ACCOUNT_REQUIRED_TO_SIGN_TOS To convert this member to a Basic account, they'll first need to sign in to Dropbox and agree to the terms of service.
 
- 
 - 
Method Detail- 
valuespublic static MembersRemoveError[] 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 (MembersRemoveError c : MembersRemoveError.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static MembersRemoveError 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 name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-