class ActionDetails(bb.Union): (source)
Additional information indicating the action taken that caused status change. 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 MemberRemoveActionType ActionDetails.remove_action: Define how the user was removed from the team. :ivar TeamInviteDetails ActionDetails.team_invite_details: Additional information relevant when someone is invited to the team. :ivar JoinTeamDetails ActionDetails.team_join_details: Additional information relevant when a new member joins the team.
Class Method | remove |
Create an instance of this class set to the ``remove_action`` tag with value ``val``. |
Class Method | team |
Create an instance of this class set to the ``team_invite_details`` tag with value ``val``. |
Class Method | team |
Create an instance of this class set to the ``team_join_details`` tag with value ``val``. |
Method | get |
Define how the user was removed from the team. |
Method | get |
Additional information relevant when someone is invited to the team. |
Method | get |
Additional information relevant when a new member joins the team. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``remove_action``. |
Method | is |
Check if the union tag is ``team_invite_details``. |
Method | is |
Check if the union tag is ``team_join_details``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``remove_action`` tag with value ``val``. :param MemberRemoveActionType val: :rtype: ActionDetails
Create an instance of this class set to the ``team_invite_details`` tag with value ``val``. :param TeamInviteDetails val: :rtype: ActionDetails
Create an instance of this class set to the ``team_join_details`` tag with value ``val``. :param JoinTeamDetails val: :rtype: ActionDetails
Define how the user was removed from the team. Only call this if :meth:`is_remove_action` is true. :rtype: MemberRemoveActionType
Additional information relevant when someone is invited to the team. Only call this if :meth:`is_team_invite_details` is true. :rtype: TeamInviteDetails
Additional information relevant when a new member joins the team. Only call this if :meth:`is_team_join_details` is true. :rtype: JoinTeamDetails