class documentation

class UserFeature(bb.Union): (source)

View In Hierarchy

A set of features that a Dropbox User account may have configured. 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 users.UserFeature.paper_as_files: This feature contains information about how the user's Paper files are stored. :ivar users.UserFeature.file_locking: This feature allows users to lock files in order to restrict other users from editing them.

Method is_file_locking Check if the union tag is ``file_locking``.
Method is_other Check if the union tag is ``other``.
Method is_paper_as_files Check if the union tag is ``paper_as_files``.
Class Variable file_locking Undocumented
Class Variable other Undocumented
Class Variable paper_as_files Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_file_locking(self): (source)

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

def is_other(self): (source)

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

def is_paper_as_files(self): (source)

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

file_locking = (source)

Undocumented

Undocumented

paper_as_files = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented