class documentation

class SharedLinkAccessFailureReason(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.SharedLinkAccessFailureReason.login_required: User is not logged in. :ivar sharing.SharedLinkAccessFailureReason.email_verify_required: 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 sharing.SharedLinkAccessFailureReason.password_required: The link is password protected. :ivar sharing.SharedLinkAccessFailureReason.team_only: Access is allowed for team members only. :ivar sharing.SharedLinkAccessFailureReason.owner_only: Access is allowed for the shared link's owner only.

Method is_email_verify_required Check if the union tag is ``email_verify_required``.
Method is_login_required Check if the union tag is ``login_required``.
Method is_other Check if the union tag is ``other``.
Method is_owner_only Check if the union tag is ``owner_only``.
Method is_password_required Check if the union tag is ``password_required``.
Method is_team_only Check if the union tag is ``team_only``.
Class Variable email_verify_required Undocumented
Class Variable login_required Undocumented
Class Variable other Undocumented
Class Variable owner_only Undocumented
Class Variable password_required Undocumented
Class Variable team_only Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_email_verify_required(self): (source)

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

def is_login_required(self): (source)

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

def is_other(self): (source)

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

def is_owner_only(self): (source)

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

def is_password_required(self): (source)

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

def is_team_only(self): (source)

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

email_verify_required = (source)

Undocumented

login_required = (source)

Undocumented

Undocumented

owner_only = (source)

Undocumented

password_required = (source)

Undocumented

team_only = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented