Package com.dropbox.core.v2.sharing
Enum SharedLinkSettingsError
- java.lang.Object
- 
- java.lang.Enum<SharedLinkSettingsError>
- 
- com.dropbox.core.v2.sharing.SharedLinkSettingsError
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<SharedLinkSettingsError>
 
 public enum SharedLinkSettingsError extends java.lang.Enum<SharedLinkSettingsError> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description INVALID_SETTINGSThe given settings are invalid (for example, all attributes of theSharedLinkSettingsare empty, the requested visibility isRequestedVisibility.PASSWORDbut theSharedLinkSettings.getLinkPassword()is missing,SharedLinkSettings.getExpires()is set to the past, etc.).NOT_AUTHORIZEDUser is not allowed to modify the settings of this link.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SharedLinkSettingsErrorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SharedLinkSettingsError[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
INVALID_SETTINGSpublic static final SharedLinkSettingsError INVALID_SETTINGS The given settings are invalid (for example, all attributes of theSharedLinkSettingsare empty, the requested visibility isRequestedVisibility.PASSWORDbut theSharedLinkSettings.getLinkPassword()is missing,SharedLinkSettings.getExpires()is set to the past, etc.).
 - 
NOT_AUTHORIZEDpublic static final SharedLinkSettingsError NOT_AUTHORIZED User is not allowed to modify the settings of this link. Note that basic users can only setRequestedVisibility.PUBLICas theSharedLinkSettings.getRequestedVisibility()and cannot setSharedLinkSettings.getExpires().
 
- 
 - 
Method Detail- 
valuespublic static SharedLinkSettingsError[] 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 (SharedLinkSettingsError c : SharedLinkSettingsError.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static SharedLinkSettingsError 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
 
 
- 
 
-