class TeamMergeRequestExpiredExtraDetails(bb.Union): (source)
Team merge request expiration details 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 PrimaryTeamRequestExpiredDetails TeamMergeRequestExpiredExtraDetails.primary_team: Team merge request canceled details shown to the primary team. :ivar SecondaryTeamRequestExpiredDetails TeamMergeRequestExpiredExtraDetails.secondary_team: Team merge request canceled details shown to the secondary team.
Class Method | primary |
Create an instance of this class set to the ``primary_team`` tag with value ``val``. |
Class Method | secondary |
Create an instance of this class set to the ``secondary_team`` tag with value ``val``. |
Method | get |
Team merge request canceled details shown to the primary team. |
Method | get |
Team merge request canceled details shown to the secondary team. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``primary_team``. |
Method | is |
Check if the union tag is ``secondary_team``. |
Class Variable | other |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``primary_team`` tag with value ``val``. :param PrimaryTeamRequestExpiredDetails val: :rtype: TeamMergeRequestExpiredExtraDetails
Create an instance of this class set to the ``secondary_team`` tag with value ``val``. :param SecondaryTeamRequestExpiredDetails val: :rtype: TeamMergeRequestExpiredExtraDetails
Team merge request canceled details shown to the primary team. Only call this if :meth:`is_primary_team` is true. :rtype: PrimaryTeamRequestExpiredDetails
Team merge request canceled details shown to the secondary team. Only call this if :meth:`is_secondary_team` is true. :rtype: SecondaryTeamRequestExpiredDetails