class documentation

class RequestedVisibility(bb.Union): (source)

Known subclasses: dropbox.sharing.ResolvedVisibility

View In Hierarchy

The access permission that can be requested by the caller for the shared link. Note that the final resolved visibility of the shared link takes into account other aspects, such as team and shared folder settings. Check the :class:`ResolvedVisibility` for more info on the possible resolved visibility values of shared links. 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.RequestedVisibility.public: Anyone who has received the link can access it. No login required. :ivar sharing.RequestedVisibility.team_only: Only members of the same team can access the link. Login is required. :ivar sharing.RequestedVisibility.password: A link-specific password is required to access the link. Login is not required.

Method is_password Check if the union tag is ``password``.
Method is_public Check if the union tag is ``public``.
Method is_team_only Check if the union tag is ``team_only``.
Class Variable password Undocumented
Class Variable public Undocumented
Class Variable team_only Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_password(self): (source)

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

def is_public(self): (source)

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

def is_team_only(self): (source)

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

password = (source)

Undocumented

Undocumented

team_only = (source)

Undocumented

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

Undocumented

_catch_all = (source)

Undocumented