Package com.dropbox.core.v2.sharing
Enum AddFolderMemberError.Tag
- java.lang.Object
-
- java.lang.Enum<AddFolderMemberError.Tag>
-
- com.dropbox.core.v2.sharing.AddFolderMemberError.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AddFolderMemberError.Tag>
- Enclosing class:
- AddFolderMemberError
public static enum AddFolderMemberError.Tag extends java.lang.Enum<AddFolderMemberError.Tag>
Discriminating tag type forAddFolderMemberError
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_ERROR
Unable to access shared folder.BAD_MEMBER
AddFolderMemberArg.getMembers()
contains a bad invitation recipient.BANNED_MEMBER
The current user has been banned.CANT_SHARE_OUTSIDE_TEAM
Your team policy does not allow sharing outside of the team.EMAIL_UNVERIFIED
This user's email address is not verified.INSUFFICIENT_PLAN
The current user's account doesn't support this action.INVALID_SHARED_FOLDER
Invalid shared folder error will be returned as an access_error.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.RATE_LIMIT
The current user has hit the limit of invites they can send per day.TEAM_FOLDER
This action cannot be performed on a team shared folder.TOO_MANY_INVITEES
The current user is trying to share with too many people at once.TOO_MANY_MEMBERS
The value is the member limit that was reached.TOO_MANY_PENDING_INVITES
The value is the pending invite limit that was reached.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AddFolderMemberError.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AddFolderMemberError.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 AddFolderMemberError.Tag ACCESS_ERROR
Unable to access shared folder.
-
EMAIL_UNVERIFIED
public static final AddFolderMemberError.Tag EMAIL_UNVERIFIED
This user'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.
-
BANNED_MEMBER
public static final AddFolderMemberError.Tag BANNED_MEMBER
The current user has been banned.
-
BAD_MEMBER
public static final AddFolderMemberError.Tag BAD_MEMBER
AddFolderMemberArg.getMembers()
contains a bad invitation recipient.
-
CANT_SHARE_OUTSIDE_TEAM
public static final AddFolderMemberError.Tag CANT_SHARE_OUTSIDE_TEAM
Your team policy does not allow sharing outside of the team.
-
TOO_MANY_MEMBERS
public static final AddFolderMemberError.Tag TOO_MANY_MEMBERS
The value is the member limit that was reached.
-
TOO_MANY_PENDING_INVITES
public static final AddFolderMemberError.Tag TOO_MANY_PENDING_INVITES
The value is the pending invite limit that was reached.
-
RATE_LIMIT
public static final AddFolderMemberError.Tag RATE_LIMIT
The current user has hit the limit of invites they can send per day. Try again in 24 hours.
-
TOO_MANY_INVITEES
public static final AddFolderMemberError.Tag TOO_MANY_INVITEES
The current user is trying to share with too many people at once.
-
INSUFFICIENT_PLAN
public static final AddFolderMemberError.Tag INSUFFICIENT_PLAN
The current user's account doesn't support this action. An example of this is when adding a read-only member. This action can only be performed by users that have upgraded to a Pro or Business plan.
-
TEAM_FOLDER
public static final AddFolderMemberError.Tag TEAM_FOLDER
This action cannot be performed on a team shared folder.
-
NO_PERMISSION
public static final AddFolderMemberError.Tag NO_PERMISSION
The current user does not have permission to perform this action.
-
INVALID_SHARED_FOLDER
public static final AddFolderMemberError.Tag INVALID_SHARED_FOLDER
Invalid shared folder error will be returned as an access_error.
-
OTHER
public static final AddFolderMemberError.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 AddFolderMemberError.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 (AddFolderMemberError.Tag c : AddFolderMemberError.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 AddFolderMemberError.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
-
-