class documentation

class ShareFolderErrorBase(bb.Union): (source)

Known subclasses: dropbox.sharing.ShareFolderError

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.ShareFolderErrorBase.email_unverified: This user's email address is not verified. This functionality is only available on accounts with a verified email address. Users can verify their email address `here <https://www.dropbox.com/help/317>`_. :ivar SharePathError ShareFolderErrorBase.bad_path: ``ShareFolderArg.path`` is invalid. :ivar sharing.ShareFolderErrorBase.team_policy_disallows_member_policy: Team policy is more restrictive than ``ShareFolderArg.member_policy``. :ivar sharing.ShareFolderErrorBase.disallowed_shared_link_policy: The current user's account is not allowed to select the specified ``ShareFolderArg.shared_link_policy``.

Class Method bad_path Create an instance of this class set to the ``bad_path`` tag with value ``val``.
Method get_bad_path ``ShareFolderArg.path`` is invalid.
Method is_bad_path Check if the union tag is ``bad_path``.
Method is_disallowed_shared_link_policy Check if the union tag is ``disallowed_shared_link_policy``.
Method is_email_unverified Check if the union tag is ``email_unverified``.
Method is_other Check if the union tag is ``other``.
Method is_team_policy_disallows_member_policy Check if the union tag is ``team_policy_disallows_member_policy``.
Class Variable disallowed_shared_link_policy Undocumented
Class Variable email_unverified Undocumented
Class Variable other Undocumented
Class Variable team_policy_disallows_member_policy Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def bad_path(cls, val): (source)

Create an instance of this class set to the ``bad_path`` tag with value ``val``. :param SharePathError val: :rtype: ShareFolderErrorBase

def get_bad_path(self): (source)

``ShareFolderArg.path`` is invalid. Only call this if :meth:`is_bad_path` is true. :rtype: SharePathError

def is_bad_path(self): (source)

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

def is_disallowed_shared_link_policy(self): (source)

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

def is_email_unverified(self): (source)

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

def is_other(self): (source)

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

def is_team_policy_disallows_member_policy(self): (source)

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

disallowed_shared_link_policy = (source)

Undocumented

email_unverified = (source)

Undocumented

Undocumented

team_policy_disallows_member_policy = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented