public static enum UpdateFolderPolicyError.Tag extends Enum<UpdateFolderPolicyError.Tag>
UpdateFolderPolicyError
.Enum Constant and Description |
---|
ACCESS_ERROR |
DISALLOWED_SHARED_LINK_POLICY
The current account is not allowed to select the specified
ShareFolderArg.getSharedLinkPolicy() . |
NO_PERMISSION
The current user does not have permission to perform this action.
|
NOT_ON_TEAM
UpdateFolderPolicyArg.getMemberPolicy() was set even though
user is not on a team. |
OTHER
Catch-all used for unknown tag values returned by the Dropbox
servers.
|
TEAM_POLICY_DISALLOWS_MEMBER_POLICY
Team policy is more restrictive than
ShareFolderArg.getMemberPolicy() . |
Modifier and Type | Method and Description |
---|---|
static UpdateFolderPolicyError.Tag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateFolderPolicyError.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateFolderPolicyError.Tag ACCESS_ERROR
public static final UpdateFolderPolicyError.Tag NOT_ON_TEAM
UpdateFolderPolicyArg.getMemberPolicy()
was set even though
user is not on a team.public static final UpdateFolderPolicyError.Tag TEAM_POLICY_DISALLOWS_MEMBER_POLICY
ShareFolderArg.getMemberPolicy()
.public static final UpdateFolderPolicyError.Tag DISALLOWED_SHARED_LINK_POLICY
ShareFolderArg.getSharedLinkPolicy()
.public static final UpdateFolderPolicyError.Tag NO_PERMISSION
public static final UpdateFolderPolicyError.Tag 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 UpdateFolderPolicyError.Tag[] values()
for (UpdateFolderPolicyError.Tag c : UpdateFolderPolicyError.Tag.values()) System.out.println(c);
public static UpdateFolderPolicyError.Tag 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