public enum LinkAction extends java.lang.Enum<LinkAction>
Enum Constant and Description |
---|
CHANGE_ACCESS_LEVEL
Change the access level of the link.
|
CHANGE_AUDIENCE
Change the audience of the link.
|
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
REMOVE_EXPIRY
Remove the expiry date of the link.
|
REMOVE_PASSWORD
Remove the password of the link.
|
SET_EXPIRY
Create or modify the expiry date of the link.
|
SET_PASSWORD
Create or modify the password of the link.
|
Modifier and Type | Method and Description |
---|---|
static LinkAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LinkAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkAction CHANGE_ACCESS_LEVEL
public static final LinkAction CHANGE_AUDIENCE
public static final LinkAction REMOVE_EXPIRY
public static final LinkAction REMOVE_PASSWORD
public static final LinkAction SET_EXPIRY
public static final LinkAction SET_PASSWORD
public static final LinkAction 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 LinkAction[] values()
for (LinkAction c : LinkAction.values()) System.out.println(c);
public static LinkAction 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