class UsersSelectorArg(bb.Union): (source)
Argument for selecting a list of users, either by team_member_ids, external_ids or emails. 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 list of [str] team.UsersSelectorArg.team_member_ids: List of member IDs. :ivar list of [str] team.UsersSelectorArg.external_ids: List of external user IDs. :ivar list of [str] team.UsersSelectorArg.emails: List of email addresses.
Class Method | emails |
Create an instance of this class set to the ``emails`` tag with value ``val``. |
Class Method | external |
Create an instance of this class set to the ``external_ids`` tag with value ``val``. |
Class Method | team |
Create an instance of this class set to the ``team_member_ids`` tag with value ``val``. |
Method | get |
List of email addresses. |
Method | get |
List of external user IDs. |
Method | get |
List of member IDs. |
Method | is |
Check if the union tag is ``emails``. |
Method | is |
Check if the union tag is ``external_ids``. |
Method | is |
Check if the union tag is ``team_member_ids``. |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``emails`` tag with value ``val``. :param list of [str] val: :rtype: UsersSelectorArg
Create an instance of this class set to the ``external_ids`` tag with value ``val``. :param list of [str] val: :rtype: UsersSelectorArg
Create an instance of this class set to the ``team_member_ids`` tag with value ``val``. :param list of [str] val: :rtype: UsersSelectorArg