Package com.dropbox.core.v2.paper
Enum PaperApiCursorError
- java.lang.Object
-
- java.lang.Enum<PaperApiCursorError>
-
- com.dropbox.core.v2.paper.PaperApiCursorError
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PaperApiCursorError>
public enum PaperApiCursorError extends java.lang.Enum<PaperApiCursorError>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPIRED_CURSOR
The provided cursor is expired.INVALID_CURSOR
The provided cursor is invalid.OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.RESET
Indicates that the cursor has been invalidated.WRONG_USER_IN_CURSOR
The provided cursor contains invalid user.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PaperApiCursorError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PaperApiCursorError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPIRED_CURSOR
public static final PaperApiCursorError EXPIRED_CURSOR
The provided cursor is expired.
-
INVALID_CURSOR
public static final PaperApiCursorError INVALID_CURSOR
The provided cursor is invalid.
-
WRONG_USER_IN_CURSOR
public static final PaperApiCursorError WRONG_USER_IN_CURSOR
The provided cursor contains invalid user.
-
RESET
public static final PaperApiCursorError RESET
Indicates that the cursor has been invalidated. Call the corresponding non-continue endpoint to obtain a new cursor.
-
OTHER
public static final PaperApiCursorError 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 PaperApiCursorError[] 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 (PaperApiCursorError c : PaperApiCursorError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaperApiCursorError 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
-
-