Package com.dropbox.core.v2.sharing
Enum LinkAction
- java.lang.Object
- 
- java.lang.Enum<LinkAction>
- 
- com.dropbox.core.v2.sharing.LinkAction
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<LinkAction>
 
 public enum LinkAction extends java.lang.Enum<LinkAction> Actions that can be performed on a link.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CHANGE_ACCESS_LEVELChange the access level of the link.CHANGE_AUDIENCEChange the audience of the link.OTHERCatch-all used for unknown tag values returned by the Dropbox servers.REMOVE_EXPIRYRemove the expiry date of the link.REMOVE_PASSWORDRemove the password of the link.SET_EXPIRYCreate or modify the expiry date of the link.SET_PASSWORDCreate or modify the password of the link.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static LinkActionvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
CHANGE_ACCESS_LEVELpublic static final LinkAction CHANGE_ACCESS_LEVEL Change the access level of the link.
 - 
CHANGE_AUDIENCEpublic static final LinkAction CHANGE_AUDIENCE Change the audience of the link.
 - 
REMOVE_EXPIRYpublic static final LinkAction REMOVE_EXPIRY Remove the expiry date of the link.
 - 
REMOVE_PASSWORDpublic static final LinkAction REMOVE_PASSWORD Remove the password of the link.
 - 
SET_EXPIRYpublic static final LinkAction SET_EXPIRY Create or modify the expiry date of the link.
 - 
SET_PASSWORDpublic static final LinkAction SET_PASSWORD Create or modify the password of the link.
 - 
OTHERpublic static final LinkAction 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- 
valuespublic static LinkAction[] 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 (LinkAction c : LinkAction.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static LinkAction 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 name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-