class documentation

class TeamFolderCreateError(bb.Union): (source)

View In Hierarchy

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_settings_error Create an instance of this class set to the ``sync_settings_error`` tag with value ``val``.
Method get_sync_settings_error An error occurred setting the sync settings.
Method is_folder_name_already_used Check if the union tag is ``folder_name_already_used``.
Method is_folder_name_reserved Check if the union tag is ``folder_name_reserved``.
Method is_invalid_folder_name Check if the union tag is ``invalid_folder_name``.
Method is_other Check if the union tag is ``other``.
Method is_sync_settings_error Check if the union tag is ``sync_settings_error``.
Class Variable folder_name_already_used Undocumented
Class Variable folder_name_reserved Undocumented
Class Variable invalid_folder_name Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def sync_settings_error(cls, val): (source)

Create an instance of this class set to the ``sync_settings_error`` tag with value ``val``. :param files.SyncSettingsError val: :rtype: TeamFolderCreateError

def get_sync_settings_error(self): (source)

An error occurred setting the sync settings. Only call this if :meth:`is_sync_settings_error` is true. :rtype: files.SyncSettingsError

def is_folder_name_already_used(self): (source)

Check if the union tag is ``folder_name_already_used``. :rtype: bool

def is_folder_name_reserved(self): (source)

Check if the union tag is ``folder_name_reserved``. :rtype: bool

def is_invalid_folder_name(self): (source)

Check if the union tag is ``invalid_folder_name``. :rtype: bool

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

def is_sync_settings_error(self): (source)

Check if the union tag is ``sync_settings_error``. :rtype: bool

folder_name_already_used = (source)

Undocumented

folder_name_reserved = (source)

Undocumented

invalid_folder_name = (source)

Undocumented

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented