class documentation

class TeamMergeRequestReminderExtraDetails(bb.Union): (source)

View In Hierarchy

Team merge request reminder 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 PrimaryTeamRequestReminderDetails TeamMergeRequestReminderExtraDetails.primary_team: Team merge request reminder details shown to the primary team. :ivar SecondaryTeamRequestReminderDetails TeamMergeRequestReminderExtraDetails.secondary_team: Team merge request reminder details shown to the secondary team.

Class Method primary_team Create an instance of this class set to the ``primary_team`` tag with value ``val``.
Class Method secondary_team Create an instance of this class set to the ``secondary_team`` tag with value ``val``.
Method get_primary_team Team merge request reminder details shown to the primary team.
Method get_secondary_team Team merge request reminder details shown to the secondary team.
Method is_other Check if the union tag is ``other``.
Method is_primary_team Check if the union tag is ``primary_team``.
Method is_secondary_team Check if the union tag is ``secondary_team``.
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def primary_team(cls, val): (source)

Create an instance of this class set to the ``primary_team`` tag with value ``val``. :param PrimaryTeamRequestReminderDetails val: :rtype: TeamMergeRequestReminderExtraDetails

@classmethod
def secondary_team(cls, val): (source)

Create an instance of this class set to the ``secondary_team`` tag with value ``val``. :param SecondaryTeamRequestReminderDetails val: :rtype: TeamMergeRequestReminderExtraDetails

def get_primary_team(self): (source)

Team merge request reminder details shown to the primary team. Only call this if :meth:`is_primary_team` is true. :rtype: PrimaryTeamRequestReminderDetails

def get_secondary_team(self): (source)

Team merge request reminder details shown to the secondary team. Only call this if :meth:`is_secondary_team` is true. :rtype: SecondaryTeamRequestReminderDetails

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

def is_primary_team(self): (source)

Check if the union tag is ``primary_team``. :rtype: bool

def is_secondary_team(self): (source)

Check if the union tag is ``secondary_team``. :rtype: bool

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented