public enum MembersRemoveError extends Enum<MembersRemoveError>
| Enum Constant and Description | 
|---|
| 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. | 
| OTHERAn unspecified error. | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MembersRemoveError | valueOf(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. | 
public static final MembersRemoveError USER_NOT_FOUND
public static final MembersRemoveError USER_NOT_IN_TEAM
public static final MembersRemoveError OTHER
public static final MembersRemoveError REMOVE_LAST_ADMIN
public static final MembersRemoveError REMOVED_AND_TRANSFER_DEST_SHOULD_DIFFER
public static final MembersRemoveError REMOVED_AND_TRANSFER_ADMIN_SHOULD_DIFFER
public static final MembersRemoveError TRANSFER_DEST_USER_NOT_FOUND
public static final MembersRemoveError TRANSFER_DEST_USER_NOT_IN_TEAM
public static final MembersRemoveError TRANSFER_ADMIN_USER_NOT_FOUND
public static final MembersRemoveError TRANSFER_ADMIN_USER_NOT_IN_TEAM
public static final MembersRemoveError UNSPECIFIED_TRANSFER_ADMIN_ID
public static final MembersRemoveError TRANSFER_ADMIN_IS_NOT_ADMIN
public static final MembersRemoveError CANNOT_KEEP_ACCOUNT_AND_TRANSFER
public static final MembersRemoveError CANNOT_KEEP_ACCOUNT_AND_DELETE_DATA
public static MembersRemoveError[] values()
for (MembersRemoveError c : MembersRemoveError.values()) System.out.println(c);
public static MembersRemoveError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null