public enum GracePeriod extends java.lang.Enum<GracePeriod>
| Enum Constant and Description |
|---|
ALWAYS |
ONE_DAY |
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
SEVEN_DAYS |
THIRTY_DAYS |
TWO_DAYS |
| Modifier and Type | Method and Description |
|---|---|
static GracePeriod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GracePeriod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GracePeriod ONE_DAY
public static final GracePeriod TWO_DAYS
public static final GracePeriod SEVEN_DAYS
public static final GracePeriod THIRTY_DAYS
public static final GracePeriod ALWAYS
public static final GracePeriod 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 GracePeriod[] values()
for (GracePeriod c : GracePeriod.values()) System.out.println(c);
public static GracePeriod 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