class documentation

class FederationStatusChangeAdditionalInfo(bb.Union): (source)

View In Hierarchy

Additional information about the organization or connected team 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 ConnectedTeamName FederationStatusChangeAdditionalInfo.connected_team_name: The name of the team. :ivar NonTrustedTeamDetails FederationStatusChangeAdditionalInfo.non_trusted_team_details: The email to which the request was sent. :ivar OrganizationName FederationStatusChangeAdditionalInfo.organization_name: The name of the organization.

Class Method connected_team_name Create an instance of this class set to the ``connected_team_name`` tag with value ``val``.
Class Method non_trusted_team_details Create an instance of this class set to the ``non_trusted_team_details`` tag with value ``val``.
Class Method organization_name Create an instance of this class set to the ``organization_name`` tag with value ``val``.
Method get_connected_team_name The name of the team.
Method get_non_trusted_team_details The email to which the request was sent.
Method get_organization_name The name of the organization.
Method is_connected_team_name Check if the union tag is ``connected_team_name``.
Method is_non_trusted_team_details Check if the union tag is ``non_trusted_team_details``.
Method is_organization_name Check if the union tag is ``organization_name``.
Method is_other Check if the union tag is ``other``.
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def connected_team_name(cls, val): (source)

Create an instance of this class set to the ``connected_team_name`` tag with value ``val``. :param ConnectedTeamName val: :rtype: FederationStatusChangeAdditionalInfo

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

Create an instance of this class set to the ``non_trusted_team_details`` tag with value ``val``. :param NonTrustedTeamDetails val: :rtype: FederationStatusChangeAdditionalInfo

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

Create an instance of this class set to the ``organization_name`` tag with value ``val``. :param OrganizationName val: :rtype: FederationStatusChangeAdditionalInfo

def get_connected_team_name(self): (source)

The name of the team. Only call this if :meth:`is_connected_team_name` is true. :rtype: ConnectedTeamName

def get_non_trusted_team_details(self): (source)

The email to which the request was sent. Only call this if :meth:`is_non_trusted_team_details` is true. :rtype: NonTrustedTeamDetails

def get_organization_name(self): (source)

The name of the organization. Only call this if :meth:`is_organization_name` is true. :rtype: OrganizationName

def is_connected_team_name(self): (source)

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

def is_non_trusted_team_details(self): (source)

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

def is_organization_name(self): (source)

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

def is_other(self): (source)

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

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented