class documentation

class SearchMode(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 files.SearchMode.filename: Search file and folder names. :ivar files.SearchMode.filename_and_content: Search file and folder names as well as file contents. :ivar files.SearchMode.deleted_filename: Search for deleted file and folder names.

Method is_deleted_filename Check if the union tag is ``deleted_filename``.
Method is_filename Check if the union tag is ``filename``.
Method is_filename_and_content Check if the union tag is ``filename_and_content``.
Class Variable deleted_filename Undocumented
Class Variable filename Undocumented
Class Variable filename_and_content Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_deleted_filename(self): (source)

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

def is_filename(self): (source)

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

def is_filename_and_content(self): (source)

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

deleted_filename = (source)

Undocumented

filename = (source)

Undocumented

filename_and_content = (source)

Undocumented

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

Undocumented

_catch_all = (source)

Undocumented