class MembersGetInfoItemBase(bb.Union): (source)
Known subclasses: dropbox.team.MembersGetInfoItem
, dropbox.team.MembersGetInfoItemV2
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.MembersGetInfoItemBase.id_not_found: An ID that was provided as a parameter to :route:`members/get_info` or :route:`members/get_info:2`, and did not match a corresponding user. This might be a team_member_id, an email, or an external ID, depending on how the method was called.
Class Method | id |
Create an instance of this class set to the ``id_not_found`` tag with value ``val``. |
Method | get |
An ID that was provided as a parameter to :meth:`dropbox.dropbox_client.Dropbox.team_members_get_info` or :meth:`dropbox.dropbox_client.Dropbox.team_members_get_info`, and did not match a corresponding user... |
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 ``id_not_found`` tag with value ``val``. :param str val: :rtype: MembersGetInfoItemBase
An ID that was provided as a parameter to :meth:`dropbox.dropbox_client.Dropbox.team_members_get_info` or :meth:`dropbox.dropbox_client.Dropbox.team_members_get_info`, and did not match a corresponding user. This might be a team_member_id, an email, or an external ID, depending on how the method was called. Only call this if :meth:`is_id_not_found` is true. :rtype: str