class VisibilityPolicyDisallowedReason(bb.Union): (source)
Known subclasses: dropbox.sharing.LinkAudienceDisallowedReason
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 |
Check if the union tag is ``delete_and_recreate``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``permission_denied``. |
Method | is |
Check if the union tag is ``restricted_by_shared_folder``. |
Method | is |
Check if the union tag is ``restricted_by_team``. |
Method | is |
Check if the union tag is ``user_account_type``. |
Method | is |
Check if the union tag is ``user_not_on_team``. |
Class Variable | delete |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | permission |
Undocumented |
Class Variable | restricted |
Undocumented |
Class Variable | restricted |
Undocumented |
Class Variable | user |
Undocumented |
Class Variable | user |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |