class documentation

class ListFileMembersContinueError(bb.Union): (source)

View In Hierarchy

Error for :meth:`dropbox.dropbox_client.Dropbox.sharing_list_file_members_continue`. 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 sharing.ListFileMembersContinueError.invalid_cursor: ``ListFileMembersContinueArg.cursor`` is invalid.

Class Method access_error Create an instance of this class set to the ``access_error`` tag with value ``val``.
Class Method user_error Create an instance of this class set to the ``user_error`` tag with value ``val``.
Method get_access_error Only call this if :meth:`is_access_error` is true.
Method get_user_error Only call this if :meth:`is_user_error` is true.
Method is_access_error Check if the union tag is ``access_error``.
Method is_invalid_cursor Check if the union tag is ``invalid_cursor``.
Method is_other Check if the union tag is ``other``.
Method is_user_error Check if the union tag is ``user_error``.
Class Variable invalid_cursor Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def access_error(cls, val): (source)

Create an instance of this class set to the ``access_error`` tag with value ``val``. :param SharingFileAccessError val: :rtype: ListFileMembersContinueError

@classmethod
def user_error(cls, val): (source)

Create an instance of this class set to the ``user_error`` tag with value ``val``. :param SharingUserError val: :rtype: ListFileMembersContinueError

def get_access_error(self): (source)

Only call this if :meth:`is_access_error` is true. :rtype: SharingFileAccessError

def get_user_error(self): (source)

Only call this if :meth:`is_user_error` is true. :rtype: SharingUserError

def is_access_error(self): (source)

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

def is_invalid_cursor(self): (source)

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

def is_other(self): (source)

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

def is_user_error(self): (source)

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

invalid_cursor = (source)

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented