Package com.dropbox.core.v2.sharing
Enum AddMemberSelectorError.Tag
- java.lang.Object
-
- java.lang.Enum<AddMemberSelectorError.Tag>
-
- com.dropbox.core.v2.sharing.AddMemberSelectorError.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AddMemberSelectorError.Tag>
- Enclosing class:
- AddMemberSelectorError
public static enum AddMemberSelectorError.Tag extends java.lang.Enum<AddMemberSelectorError.Tag>
Discriminating tag type forAddMemberSelectorError
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATIC_GROUP
Automatically created groups can only be added to team folders.GROUP_DELETED
At least one of the specified groups inAddFolderMemberArg.getMembers()
is deleted.GROUP_NOT_ON_TEAM
Sharing to a group that is not on the current user's team.INVALID_DROPBOX_ID
The value is the ID that could not be identified.INVALID_EMAIL
The value is the e-email address that is malformed.OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.UNVERIFIED_DROPBOX_ID
The value is the ID of the Dropbox user with an unverified email address.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AddMemberSelectorError.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AddMemberSelectorError.Tag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC_GROUP
public static final AddMemberSelectorError.Tag AUTOMATIC_GROUP
Automatically created groups can only be added to team folders.
-
INVALID_DROPBOX_ID
public static final AddMemberSelectorError.Tag INVALID_DROPBOX_ID
The value is the ID that could not be identified.
-
INVALID_EMAIL
public static final AddMemberSelectorError.Tag INVALID_EMAIL
The value is the e-email address that is malformed.
-
UNVERIFIED_DROPBOX_ID
public static final AddMemberSelectorError.Tag UNVERIFIED_DROPBOX_ID
The value is the ID of the Dropbox user with an unverified email address. Invite unverified users by email address instead of by their Dropbox ID.
-
GROUP_DELETED
public static final AddMemberSelectorError.Tag GROUP_DELETED
At least one of the specified groups inAddFolderMemberArg.getMembers()
is deleted.
-
GROUP_NOT_ON_TEAM
public static final AddMemberSelectorError.Tag GROUP_NOT_ON_TEAM
Sharing to a group that is not on the current user's team.
-
OTHER
public static final AddMemberSelectorError.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 AddMemberSelectorError.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 (AddMemberSelectorError.Tag c : AddMemberSelectorError.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 AddMemberSelectorError.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
-
-