public enum PermissionDeniedReason extends Enum<PermissionDeniedReason>
Enum Constant and Description |
---|
FOLDER_IS_LIMITED_TEAM_FOLDER
Folder is team folder for a limited team.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
TARGET_IS_INDIRECT_MEMBER
Target is indirectly a member of the folder, for example by being part of
a group.
|
TARGET_IS_OWNER
Target is the owner of the folder.
|
TARGET_IS_SELF
Target is the user itself.
|
TARGET_NOT_ACTIVE
Target is not an active member of the team.
|
USER_NOT_ALLOWED_BY_OWNER
User is prohibited by the owner from taking the action.
|
USER_NOT_SAME_TEAM_AS_OWNER
User is not on the same team as the folder owner.
|
Modifier and Type | Method and Description |
---|---|
static PermissionDeniedReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionDeniedReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionDeniedReason USER_NOT_SAME_TEAM_AS_OWNER
public static final PermissionDeniedReason USER_NOT_ALLOWED_BY_OWNER
public static final PermissionDeniedReason TARGET_IS_INDIRECT_MEMBER
public static final PermissionDeniedReason TARGET_IS_OWNER
public static final PermissionDeniedReason TARGET_IS_SELF
public static final PermissionDeniedReason TARGET_NOT_ACTIVE
public static final PermissionDeniedReason FOLDER_IS_LIMITED_TEAM_FOLDER
public static final PermissionDeniedReason OTHER
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.
public static PermissionDeniedReason[] values()
for (PermissionDeniedReason c : PermissionDeniedReason.values()) System.out.println(c);
public static PermissionDeniedReason 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