class SharePathError(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 sharing.SharePathError.is_file: A file is at the specified path. :ivar sharing.SharePathError.inside_shared_folder: We do not support sharing a folder inside a shared folder. :ivar sharing.SharePathError.contains_shared_folder: We do not support shared folders that contain shared folders. :ivar sharing.SharePathError.contains_app_folder: We do not support shared folders that contain app folders. :ivar sharing.SharePathError.contains_team_folder: We do not support shared folders that contain team folders. :ivar sharing.SharePathError.is_app_folder: We do not support sharing an app folder. :ivar sharing.SharePathError.inside_app_folder: We do not support sharing a folder inside an app folder. :ivar sharing.SharePathError.is_public_folder: A public folder can't be shared this way. Use a public link instead. :ivar sharing.SharePathError.inside_public_folder: A folder inside a public folder can't be shared this way. Use a public link instead. :ivar SharedFolderMetadata SharePathError.already_shared: Folder is already shared. Contains metadata about the existing shared folder. :ivar sharing.SharePathError.invalid_path: Path is not valid. :ivar sharing.SharePathError.is_osx_package: We do not support sharing a Mac OS X package. :ivar sharing.SharePathError.inside_osx_package: We do not support sharing a folder inside a Mac OS X package. :ivar sharing.SharePathError.is_vault: We do not support sharing the Vault folder. :ivar sharing.SharePathError.is_vault_locked: We do not support sharing a folder inside a locked Vault. :ivar sharing.SharePathError.is_family: We do not support sharing the Family folder.
Class Method | already |
Create an instance of this class set to the ``already_shared`` tag with value ``val``. |
Method | get |
Folder is already shared. Contains metadata about the existing shared folder. |
Method | is |
Check if the union tag is ``already_shared``. |
Method | is |
Check if the union tag is ``contains_app_folder``. |
Method | is |
Check if the union tag is ``contains_shared_folder``. |
Method | is |
Check if the union tag is ``contains_team_folder``. |
Method | is |
Check if the union tag is ``inside_app_folder``. |
Method | is |
Check if the union tag is ``inside_osx_package``. |
Method | is |
Check if the union tag is ``inside_public_folder``. |
Method | is |
Check if the union tag is ``inside_shared_folder``. |
Method | is |
Check if the union tag is ``invalid_path``. |
Method | is |
Check if the union tag is ``is_app_folder``. |
Method | is |
Check if the union tag is ``is_family``. |
Method | is |
Check if the union tag is ``is_file``. |
Method | is |
Check if the union tag is ``is_osx_package``. |
Method | is |
Check if the union tag is ``is_public_folder``. |
Method | is |
Check if the union tag is ``is_vault``. |
Method | is |
Check if the union tag is ``is_vault_locked``. |
Method | is |
Check if the union tag is ``other``. |
Class Variable | contains |
Undocumented |
Class Variable | contains |
Undocumented |
Class Variable | contains |
Undocumented |
Class Variable | inside |
Undocumented |
Class Variable | inside |
Undocumented |
Class Variable | inside |
Undocumented |
Class Variable | inside |
Undocumented |
Class Variable | invalid |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``already_shared`` tag with value ``val``. :param SharedFolderMetadata val: :rtype: SharePathError
Folder is already shared. Contains metadata about the existing shared folder. Only call this if :meth:`is_already_shared` is true. :rtype: SharedFolderMetadata