public static enum UserAddResult.Tag extends java.lang.Enum<UserAddResult.Tag>
UserAddResult
.Enum Constant and Description |
---|
INVALID_USER
Specified user is not a valid target for adding secondary emails.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox
servers.
|
PLACEHOLDER_USER
Secondary emails cannot be added to placeholder users.
|
SUCCESS
Describes a user and the results for each attempt to add a secondary
email.
|
UNVERIFIED
Secondary emails can only be added to verified users.
|
Modifier and Type | Method and Description |
---|---|
static UserAddResult.Tag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UserAddResult.Tag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserAddResult.Tag SUCCESS
public static final UserAddResult.Tag INVALID_USER
public static final UserAddResult.Tag UNVERIFIED
public static final UserAddResult.Tag PLACEHOLDER_USER
public static final UserAddResult.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 UserAddResult.Tag[] values()
for (UserAddResult.Tag c : UserAddResult.Tag.values()) System.out.println(c);
public static UserAddResult.Tag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null