DBTEAMLOGTrustedTeamsRequestAction

Objective-C

@interface DBTEAMLOGTrustedTeamsRequestAction
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGTrustedTeamsRequestAction : NSObject, DBSerializable, NSCopying

The TrustedTeamsRequestAction union.

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 “accepted”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAccepted;

    Swift

    init(accepted: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDeclined;

    Swift

    init(declined: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithExpired;

    Swift

    init(expired: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithInvited;

    Swift

    init(invited: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRevoked;

    Swift

    init(revoked: ())

    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 “accepted”.

    Declaration

    Objective-C

    - (BOOL)isAccepted;

    Swift

    func isAccepted() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isDeclined;

    Swift

    func isDeclined() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isExpired;

    Swift

    func isExpired() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isInvited;

    Swift

    func isInvited() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isRevoked;

    Swift

    func isRevoked() -> Bool

    Return Value

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

  • 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.