class documentation
class TeamFolderRenameError(BaseTeamFolderError): (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 team.TeamFolderRenameError.invalid_folder_name: The provided folder name cannot be used. :ivar team.TeamFolderRenameError.folder_name_already_used: There is already a team folder with the same name. :ivar team.TeamFolderRenameError.folder_name_reserved: The provided name cannot be used because it is reserved.
Method | is |
Check if the union tag is ``folder_name_already_used``. |
Method | is |
Check if the union tag is ``folder_name_reserved``. |
Method | is |
Check if the union tag is ``invalid_folder_name``. |
Class Variable | folder |
Undocumented |
Class Variable | folder |
Undocumented |
Class Variable | invalid |
Undocumented |
Method | _process |
Undocumented |
Inherited from BaseTeamFolderError
:
Class Method | access |
Create an instance of this class set to the ``access_error`` tag with value ``val``. |
Class Method | status |
Create an instance of this class set to the ``status_error`` tag with value ``val``. |
Class Method | team |
Create an instance of this class set to the ``team_shared_dropbox_error`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_access_error` is true. |
Method | get |
Only call this if :meth:`is_status_error` is true. |
Method | get |
Only call this if :meth:`is_team_shared_dropbox_error` is true. |
Method | is |
Check if the union tag is ``access_error``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``status_error``. |
Method | is |
Check if the union tag is ``team_shared_dropbox_error``. |
Class Variable | other |
Undocumented |
Class Variable | _catch |
Undocumented |