class documentation

class RelinquishFolderMembershipError(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.RelinquishFolderMembershipError.folder_owner: The current user is the owner of the shared folder. Owners cannot relinquish membership to their own folders. Try unsharing or transferring ownership first. :ivar sharing.RelinquishFolderMembershipError.mounted: The shared folder is currently mounted. Unmount the shared folder before relinquishing membership. :ivar sharing.RelinquishFolderMembershipError.group_access: The current user has access to the shared folder via a group. You can't relinquish membership to folders shared via groups. :ivar sharing.RelinquishFolderMembershipError.team_folder: This action cannot be performed on a team shared folder. :ivar sharing.RelinquishFolderMembershipError.no_permission: The current user does not have permission to perform this action. :ivar sharing.RelinquishFolderMembershipError.no_explicit_access: The current user only has inherited access to the shared folder. You can't relinquish inherited membership to folders.

Class Method access_error Create an instance of this class set to the ``access_error`` tag with value ``val``.
Method get_access_error Only call this if :meth:`is_access_error` is true.
Method is_access_error Check if the union tag is ``access_error``.
Method is_folder_owner Check if the union tag is ``folder_owner``.
Method is_group_access Check if the union tag is ``group_access``.
Method is_mounted Check if the union tag is ``mounted``.
Method is_no_explicit_access Check if the union tag is ``no_explicit_access``.
Method is_no_permission Check if the union tag is ``no_permission``.
Method is_other Check if the union tag is ``other``.
Method is_team_folder Check if the union tag is ``team_folder``.
Class Variable folder_owner Undocumented
Class Variable group_access Undocumented
Class Variable mounted Undocumented
Class Variable no_explicit_access Undocumented
Class Variable no_permission Undocumented
Class Variable other Undocumented
Class Variable team_folder 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 SharedFolderAccessError val: :rtype: RelinquishFolderMembershipError

def get_access_error(self): (source)

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

def is_access_error(self): (source)

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

def is_folder_owner(self): (source)

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

def is_group_access(self): (source)

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

def is_mounted(self): (source)

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

def is_no_explicit_access(self): (source)

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

def is_no_permission(self): (source)

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

def is_other(self): (source)

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

def is_team_folder(self): (source)

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

folder_owner = (source)

Undocumented

group_access = (source)

Undocumented

Undocumented

no_explicit_access = (source)

Undocumented

no_permission = (source)

Undocumented

Undocumented

team_folder = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented