class documentation
class SearchMatchTypeV2(bb.Union): (source)
Indicates what type of match was found for a given item. 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.SearchMatchTypeV2.filename: This item was matched on its file or folder name. :ivar files.SearchMatchTypeV2.file_content: This item was matched based on its file contents. :ivar files.SearchMatchTypeV2.filename_and_content: This item was matched based on both its contents and its file name. :ivar files.SearchMatchTypeV2.image_content: This item was matched on image content.
Method | is |
Check if the union tag is ``file_content``. |
Method | is |
Check if the union tag is ``filename``. |
Method | is |
Check if the union tag is ``filename_and_content``. |
Method | is |
Check if the union tag is ``image_content``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | file |
Undocumented |
Class Variable | filename |
Undocumented |
Class Variable | filename |
Undocumented |
Class Variable | image |
Undocumented |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |