Package com.dropbox.core.v2.users
Enum PaperAsFilesValue.Tag
- java.lang.Object
-
- java.lang.Enum<PaperAsFilesValue.Tag>
-
- com.dropbox.core.v2.users.PaperAsFilesValue.Tag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PaperAsFilesValue.Tag>
- Enclosing class:
- PaperAsFilesValue
public static enum PaperAsFilesValue.Tag extends java.lang.Enum<PaperAsFilesValue.Tag>
Discriminating tag type forPaperAsFilesValue
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PaperAsFilesValue.Tag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PaperAsFilesValue.Tag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLED
public static final PaperAsFilesValue.Tag ENABLED
When this value is true, the user's Paper docs are accessible in Dropbox with the .paper extension and must be accessed via the /files endpoints. When this value is false, the user's Paper docs are stored separate from Dropbox files and folders and should be accessed via the /paper endpoints.
-
OTHER
public static final PaperAsFilesValue.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 PaperAsFilesValue.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 (PaperAsFilesValue.Tag c : PaperAsFilesValue.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 PaperAsFilesValue.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
-
-