class TeamFolderGetInfoItem(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 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 |
Create an instance of this class set to the ``id_not_found`` tag with value ``val``. |
Class Method | team |
Create an instance of this class set to the ``team_folder_metadata`` tag with value ``val``. |
Method | get |
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 |
Properties of a team folder. |
Method | is |
Check if the union tag is ``id_not_found``. |
Method | is |
Check if the union tag is ``team_folder_metadata``. |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``id_not_found`` tag with value ``val``. :param str val: :rtype: TeamFolderGetInfoItem
Create an instance of this class set to the ``team_folder_metadata`` tag with value ``val``. :param TeamFolderMetadata val: :rtype: TeamFolderGetInfoItem
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
Properties of a team folder. Only call this if :meth:`is_team_folder_metadata` is true. :rtype: TeamFolderMetadata