DBTEAMLOGFederationStatusChangeAdditionalInfo

Objective-C

@interface DBTEAMLOGFederationStatusChangeAdditionalInfo
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGFederationStatusChangeAdditionalInfo : NSObject, DBSerializable, NSCopying

The FederationStatusChangeAdditionalInfo union.

Additional information about the organization or connected team

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

Constructors

  • Initializes union class with tag state of “connected_team_name”.

    Description of the “connected_team_name” tag state: The name of the team.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithConnectedTeamName:
        (nonnull DBTEAMLOGConnectedTeamName *)connectedTeamName;

    Swift

    init(connectedTeamName: DBTEAMLOGConnectedTeamName)

    Parameters

    connectedTeamName

    The name of the team.

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “non_trusted_team_details”.

    Description of the “non_trusted_team_details” tag state: The email to which the request was sent.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithNonTrustedTeamDetails:
        (nonnull DBTEAMLOGNonTrustedTeamDetails *)nonTrustedTeamDetails;

    Swift

    init(nonTrustedTeamDetails: DBTEAMLOGNonTrustedTeamDetails)

    Parameters

    nonTrustedTeamDetails

    The email to which the request was sent.

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “organization_name”.

    Description of the “organization_name” tag state: The name of the organization.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOrganizationName:
        (nonnull DBTEAMLOGOrganizationName *)organizationName;

    Swift

    init(organizationName: DBTEAMLOGOrganizationName)

    Parameters

    organizationName

    The name of the organization.

    Return Value

    An initialized instance.

  • Initializes union class with tag state of “other”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithOther;

    Swift

    init(other: ())

    Return Value

    An initialized instance.

Tag state methods

  • Retrieves whether the union’s current tag state has value “connected_team_name”.

    Note

    Call this method and ensure it returns true before accessing the connectedTeamName property, otherwise a runtime exception will be thrown.

    Declaration

    Objective-C

    - (BOOL)isConnectedTeamName;

    Swift

    func isConnectedTeamName() -> Bool

    Return Value

    Whether the union’s current tag state has value “connected_team_name”.

  • Retrieves whether the union’s current tag state has value “non_trusted_team_details”.

    Note

    Call this method and ensure it returns true before accessing the nonTrustedTeamDetails property, otherwise a runtime exception will be thrown.

    Declaration

    Objective-C

    - (BOOL)isNonTrustedTeamDetails;

    Swift

    func isNonTrustedTeamDetails() -> Bool

    Return Value

    Whether the union’s current tag state has value “non_trusted_team_details”.

  • Retrieves whether the union’s current tag state has value “organization_name”.

    Note

    Call this method and ensure it returns true before accessing the organizationName property, otherwise a runtime exception will be thrown.

    Declaration

    Objective-C

    - (BOOL)isOrganizationName;

    Swift

    func isOrganizationName() -> Bool

    Return Value

    Whether the union’s current tag state has value “organization_name”.

  • Retrieves whether the union’s current tag state has value “other”.

    Declaration

    Objective-C

    - (BOOL)isOther;

    Swift

    func isOther() -> Bool

    Return Value

    Whether the union’s current tag state has value “other”.

  • Retrieves string value of union’s current tag state.

    Declaration

    Objective-C

    - (nonnull NSString *)tagName;

    Swift

    func tagName() -> String

    Return Value

    A human-readable string representing the union’s current tag state.