class GroupsGetInfoItem(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.GroupsGetInfoItem.id_not_found: An ID that was provided as a parameter to :route:`groups/get_info`, and did not match a corresponding group. The ID can be a group ID, or an external ID, depending on how the method was called. :ivar GroupFullInfo GroupsGetInfoItem.group_info: Info about a group.
Class Method | group |
Create an instance of this class set to the ``group_info`` tag with value ``val``. |
Class Method | id |
Create an instance of this class set to the ``id_not_found`` tag with value ``val``. |
Method | get |
Info about a group. |
Method | get |
An ID that was provided as a parameter to :meth:`dropbox.dropbox_client.Dropbox.team_groups_get_info`, and did not match a corresponding group. The ID can be a group ID, or an external ID, depending on how the method was called. |
Method | is |
Check if the union tag is ``group_info``. |
Method | is |
Check if the union tag is ``id_not_found``. |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``group_info`` tag with value ``val``. :param GroupFullInfo val: :rtype: GroupsGetInfoItem
Create an instance of this class set to the ``id_not_found`` tag with value ``val``. :param str val: :rtype: GroupsGetInfoItem
An ID that was provided as a parameter to :meth:`dropbox.dropbox_client.Dropbox.team_groups_get_info`, and did not match a corresponding group. The ID can be a group ID, or an external ID, depending on how the method was called. Only call this if :meth:`is_id_not_found` is true. :rtype: str