MCPcopy Create free account
hub / github.com/dropbox/dropbox-sdk-python / ExcludedUsersListContinueError

Class ExcludedUsersListContinueError

dropbox/team.py:1572–1607  ·  view source on GitHub ↗

Excluded users list continue error. 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.ExcludedUsersListContinueError.invalid_cursor: The

Source from the content-addressed store, hash-verified

1570ExcludedUsersListContinueArg_validator = bv.Struct(ExcludedUsersListContinueArg)
1571
1572class ExcludedUsersListContinueError(bb.Union):
1573 """
1574 Excluded users list continue error.
1575
1576 This class acts as a tagged union. Only one of the ``is_*`` methods will
1577 return true. To get the associated value of a tag (if one exists), use the
1578 corresponding ``get_*`` method.
1579
1580 :ivar team.ExcludedUsersListContinueError.invalid_cursor: The cursor is
1581 invalid.
1582 """
1583
1584 _catch_all = 'other'
1585 # Attribute is overwritten below the class definition
1586 invalid_cursor = None
1587 # Attribute is overwritten below the class definition
1588 other = None
1589
1590 def is_invalid_cursor(self):
1591 """
1592 Check if the union tag is ``invalid_cursor``.
1593
1594 :rtype: bool
1595 """
1596 return self._tag == 'invalid_cursor'
1597
1598 def is_other(self):
1599 """
1600 Check if the union tag is ``other``.
1601
1602 :rtype: bool
1603 """
1604 return self._tag == 'other'
1605
1606 def _process_custom_annotations(self, annotation_type, field_path, processor):
1607 super(ExcludedUsersListContinueError, self)._process_custom_annotations(annotation_type, field_path, processor)
1608
1609ExcludedUsersListContinueError_validator = bv.Union(ExcludedUsersListContinueError)
1610

Callers 1

team.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected