class TeamFolderCreateError(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 team.TeamFolderCreateError.invalid_folder_name: The provided name cannot be used. :ivar team.TeamFolderCreateError.folder_name_already_used: There is already a team folder with the provided name. :ivar team.TeamFolderCreateError.folder_name_reserved: The provided name cannot be used because it is reserved. :ivar SyncSettingsError TeamFolderCreateError.sync_settings_error: An error occurred setting the sync settings.
Class Method | sync |
Create an instance of this class set to the ``sync_settings_error`` tag with value ``val``. |
Method | get |
An error occurred setting the sync settings. |
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``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``sync_settings_error``. |
Class Variable | folder |
Undocumented |
Class Variable | folder |
Undocumented |
Class Variable | invalid |
Undocumented |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``sync_settings_error`` tag with value ``val``. :param files.SyncSettingsError val: :rtype: TeamFolderCreateError
An error occurred setting the sync settings. Only call this if :meth:`is_sync_settings_error` is true. :rtype: files.SyncSettingsError