Package com.dropbox.core.v2.sharing
Enum TransferFolderError.Tag
- java.lang.Object
-
- java.lang.Enum<TransferFolderError.Tag>
-
- com.dropbox.core.v2.sharing.TransferFolderError.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TransferFolderError.Tag>
- Enclosing class:
- TransferFolderError
public static enum TransferFolderError.Tag extends java.lang.Enum<TransferFolderError.Tag>
Discriminating tag type forTransferFolderError
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_ERROR
INVALID_DROPBOX_ID
TransferFolderArg.getToDropboxId()
is invalid.NEW_OWNER_EMAIL_UNVERIFIED
The new designated owner's email address is not verified.NEW_OWNER_NOT_A_MEMBER
The new designated owner is not currently a member of the shared folder.NEW_OWNER_UNMOUNTED
The new designated owner has not added the folder to their Dropbox.NO_PERMISSION
The current user does not have permission to perform this action.OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.TEAM_FOLDER
This action cannot be performed on a team shared folder.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransferFolderError.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransferFolderError.Tag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCESS_ERROR
public static final TransferFolderError.Tag ACCESS_ERROR
-
INVALID_DROPBOX_ID
public static final TransferFolderError.Tag INVALID_DROPBOX_ID
TransferFolderArg.getToDropboxId()
is invalid.
-
NEW_OWNER_NOT_A_MEMBER
public static final TransferFolderError.Tag NEW_OWNER_NOT_A_MEMBER
The new designated owner is not currently a member of the shared folder.
-
NEW_OWNER_UNMOUNTED
public static final TransferFolderError.Tag NEW_OWNER_UNMOUNTED
The new designated owner has not added the folder to their Dropbox.
-
NEW_OWNER_EMAIL_UNVERIFIED
public static final TransferFolderError.Tag NEW_OWNER_EMAIL_UNVERIFIED
The new designated owner's email address is not verified. This functionality is only available on accounts with a verified email address. Users can verify their email address here.
-
TEAM_FOLDER
public static final TransferFolderError.Tag TEAM_FOLDER
This action cannot be performed on a team shared folder.
-
NO_PERMISSION
public static final TransferFolderError.Tag NO_PERMISSION
The current user does not have permission to perform this action.
-
OTHER
public static final TransferFolderError.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 TransferFolderError.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 (TransferFolderError.Tag c : TransferFolderError.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 TransferFolderError.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
-
-