class FileCategory(bb.Union): (source)
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.FileCategory.image: jpg, png, gif, and more. :ivar files.FileCategory.document: doc, docx, txt, and more. :ivar files.FileCategory.pdf: pdf. :ivar files.FileCategory.spreadsheet: xlsx, xls, csv, and more. :ivar files.FileCategory.presentation: ppt, pptx, key, and more. :ivar files.FileCategory.audio: mp3, wav, mid, and more. :ivar files.FileCategory.video: mov, wmv, mp4, and more. :ivar files.FileCategory.folder: dropbox folder. :ivar files.FileCategory.paper: dropbox paper doc. :ivar files.FileCategory.others: any file not in one of the categories above.
Method | is |
Check if the union tag is ``audio``. |
Method | is |
Check if the union tag is ``document``. |
Method | is |
Check if the union tag is ``folder``. |
Method | is |
Check if the union tag is ``image``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``others``. |
Method | is |
Check if the union tag is ``paper``. |
Method | is |
Check if the union tag is ``pdf``. |
Method | is |
Check if the union tag is ``presentation``. |
Method | is |
Check if the union tag is ``spreadsheet``. |
Method | is |
Check if the union tag is ``video``. |
Class Variable | audio |
Undocumented |
Class Variable | document |
Undocumented |
Class Variable | folder |
Undocumented |
Class Variable | image |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | others |
Undocumented |
Class Variable | paper |
Undocumented |
Class Variable | pdf |
Undocumented |
Class Variable | presentation |
Undocumented |
Class Variable | spreadsheet |
Undocumented |
Class Variable | video |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |