class documentation

class SharedFolderMemberError(bb.Union): (source)

View In Hierarchy

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.SharedFolderMemberError.invalid_dropbox_id: The target dropbox_id is invalid. :ivar sharing.SharedFolderMemberError.not_a_member: The target dropbox_id is not a member of the shared folder. :ivar MemberAccessLevelResult SharedFolderMemberError.no_explicit_access: The target member only has inherited access to the shared folder.

Class Method no_explicit_access Create an instance of this class set to the ``no_explicit_access`` tag with value ``val``.
Method get_no_explicit_access The target member only has inherited access to the shared folder.
Method is_invalid_dropbox_id Check if the union tag is ``invalid_dropbox_id``.
Method is_no_explicit_access Check if the union tag is ``no_explicit_access``.
Method is_not_a_member Check if the union tag is ``not_a_member``.
Method is_other Check if the union tag is ``other``.
Class Variable invalid_dropbox_id Undocumented
Class Variable not_a_member Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def no_explicit_access(cls, val): (source)

Create an instance of this class set to the ``no_explicit_access`` tag with value ``val``. :param MemberAccessLevelResult val: :rtype: SharedFolderMemberError

def get_no_explicit_access(self): (source)

The target member only has inherited access to the shared folder. Only call this if :meth:`is_no_explicit_access` is true. :rtype: MemberAccessLevelResult

def is_invalid_dropbox_id(self): (source)

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

def is_no_explicit_access(self): (source)

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

def is_not_a_member(self): (source)

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

def is_other(self): (source)

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

invalid_dropbox_id = (source)

Undocumented

not_a_member = (source)

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented