class documentation

class TokenGetAuthenticatedAdminError(bb.Union): (source)

View In Hierarchy

Error returned by :meth:`dropbox.dropbox_client.Dropbox.team_token_get_authenticated_admin`. This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar team.TokenGetAuthenticatedAdminError.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. :ivar team.TokenGetAuthenticatedAdminError.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.

Method is_admin_not_active Check if the union tag is ``admin_not_active``.
Method is_mapping_not_found Check if the union tag is ``mapping_not_found``.
Method is_other Check if the union tag is ``other``.
Class Variable admin_not_active Undocumented
Class Variable mapping_not_found Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_admin_not_active(self): (source)

Check if the union tag is ``admin_not_active``. :rtype: bool

def is_mapping_not_found(self): (source)

Check if the union tag is ``mapping_not_found``. :rtype: bool

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

admin_not_active = (source)

Undocumented

mapping_not_found = (source)

Undocumented

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented