class documentation

class VisibilityPolicyDisallowedReason(bb.Union): (source)

Known subclasses: dropbox.sharing.LinkAudienceDisallowedReason

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.VisibilityPolicyDisallowedReason.delete_and_recreate: The user needs to delete and recreate the link to change the visibility policy. :ivar sharing.VisibilityPolicyDisallowedReason.restricted_by_shared_folder: The parent shared folder restricts sharing of links outside the shared folder. To change the visibility policy, remove the restriction from the parent shared folder. :ivar sharing.VisibilityPolicyDisallowedReason.restricted_by_team: The team policy prevents links being shared outside the team. :ivar sharing.VisibilityPolicyDisallowedReason.user_not_on_team: The user needs to be on a team to set this policy. :ivar sharing.VisibilityPolicyDisallowedReason.user_account_type: The user is a basic user or is on a limited team. :ivar sharing.VisibilityPolicyDisallowedReason.permission_denied: The user does not have permission.

Method is_delete_and_recreate Check if the union tag is ``delete_and_recreate``.
Method is_other Check if the union tag is ``other``.
Method is_permission_denied Check if the union tag is ``permission_denied``.
Method is_restricted_by_shared_folder Check if the union tag is ``restricted_by_shared_folder``.
Method is_restricted_by_team Check if the union tag is ``restricted_by_team``.
Method is_user_account_type Check if the union tag is ``user_account_type``.
Method is_user_not_on_team Check if the union tag is ``user_not_on_team``.
Class Variable delete_and_recreate Undocumented
Class Variable other Undocumented
Class Variable permission_denied Undocumented
Class Variable restricted_by_shared_folder Undocumented
Class Variable restricted_by_team Undocumented
Class Variable user_account_type Undocumented
Class Variable user_not_on_team Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_delete_and_recreate(self): (source)

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

def is_other(self): (source)

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

def is_permission_denied(self): (source)

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

def is_restricted_by_shared_folder(self): (source)

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

def is_restricted_by_team(self): (source)

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

def is_user_account_type(self): (source)

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

def is_user_not_on_team(self): (source)

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

delete_and_recreate = (source)

Undocumented

Undocumented

permission_denied = (source)

Undocumented

restricted_by_shared_folder = (source)

Undocumented

restricted_by_team = (source)

Undocumented

user_account_type = (source)

Undocumented

user_not_on_team = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)
_catch_all: str = (source)

Undocumented