public enum LegalHoldsGetPolicyError extends java.lang.Enum<LegalHoldsGetPolicyError>
Enum Constant and Description |
---|
INSUFFICIENT_PERMISSIONS
You don't have permissions to perform this action.
|
LEGAL_HOLD_POLICY_NOT_FOUND
Legal hold policy does not exist for
LegalHoldsGetPolicyArg.getId() . |
OTHER
Catch-all used for unknown tag values returned by the Dropbox servers.
|
UNKNOWN_LEGAL_HOLD_ERROR
There has been an unknown legal hold error.
|
Modifier and Type | Method and Description |
---|---|
static LegalHoldsGetPolicyError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LegalHoldsGetPolicyError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LegalHoldsGetPolicyError UNKNOWN_LEGAL_HOLD_ERROR
public static final LegalHoldsGetPolicyError INSUFFICIENT_PERMISSIONS
public static final LegalHoldsGetPolicyError 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 final LegalHoldsGetPolicyError LEGAL_HOLD_POLICY_NOT_FOUND
LegalHoldsGetPolicyArg.getId()
.public static LegalHoldsGetPolicyError[] values()
for (LegalHoldsGetPolicyError c : LegalHoldsGetPolicyError.values()) System.out.println(c);
public static LegalHoldsGetPolicyError 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