class documentation

class TeamFolderGetInfoItem(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 str team.TeamFolderGetInfoItem.id_not_found: An ID that was provided as a parameter to :route:`team_folder/get_info` did not match any of the team's team folders. :ivar TeamFolderMetadata TeamFolderGetInfoItem.team_folder_metadata: Properties of a team folder.

Class Method id_not_found Create an instance of this class set to the ``id_not_found`` tag with value ``val``.
Class Method team_folder_metadata Create an instance of this class set to the ``team_folder_metadata`` tag with value ``val``.
Method get_id_not_found An ID that was provided as a parameter to :meth:`dropbox.dropbox_client.Dropbox.team_team_folder_get_info` did not match any of the team's team folders.
Method get_team_folder_metadata Properties of a team folder.
Method is_id_not_found Check if the union tag is ``id_not_found``.
Method is_team_folder_metadata Check if the union tag is ``team_folder_metadata``.
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def id_not_found(cls, val): (source)

Create an instance of this class set to the ``id_not_found`` tag with value ``val``. :param str val: :rtype: TeamFolderGetInfoItem

@classmethod
def team_folder_metadata(cls, val): (source)

Create an instance of this class set to the ``team_folder_metadata`` tag with value ``val``. :param TeamFolderMetadata val: :rtype: TeamFolderGetInfoItem

def get_id_not_found(self): (source)

An ID that was provided as a parameter to :meth:`dropbox.dropbox_client.Dropbox.team_team_folder_get_info` did not match any of the team's team folders. Only call this if :meth:`is_id_not_found` is true. :rtype: str

def get_team_folder_metadata(self): (source)

Properties of a team folder. Only call this if :meth:`is_team_folder_metadata` is true. :rtype: TeamFolderMetadata

def is_id_not_found(self): (source)

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

def is_team_folder_metadata(self): (source)

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

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

Undocumented

_catch_all = (source)

Undocumented