Package com.dropbox.core.v2.team
Enum Class TokenGetAuthenticatedAdminError
java.lang.Object
java.lang.Enum<TokenGetAuthenticatedAdminError>
com.dropbox.core.v2.team.TokenGetAuthenticatedAdminError
- All Implemented Interfaces:
Serializable,Comparable<TokenGetAuthenticatedAdminError>,Constable
Error returned by
DbxTeamTeamRequests.tokenGetAuthenticatedAdmin().-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEither the team admin that authorized this token is no longer an active member of the team or no longer a team admin.The current token is not associated with a team admin, because mappings were not recorded when the token was created.Catch-all used for unknown tag values returned by the Dropbox servers. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TokenGetAuthenticatedAdminError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAPPING_NOT_FOUND
The current token is not associated with a team admin, because mappings were not recorded when the token was created. Consider re-authorizing a new access token to record its authenticating admin. -
ADMIN_NOT_ACTIVE
Either the team admin that authorized this token is no longer an active member of the team or no longer a team admin. -
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 Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-