DBTEAMLOGMemberStatus

Objective-C

@interface DBTEAMLOGMemberStatus : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGMemberStatus : NSObject, DBSerializable, NSCopying

The MemberStatus 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 “active”.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithActive;

    Swift

    init(active: ())

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithMovedToAnotherTeam;

    Swift

    init(movedToAnotherTeam: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithNotJoined;

    Swift

    init(notJoined: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRemoved;

    Swift

    init(removed: ())

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSuspended;

    Swift

    init(suspended: ())

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

    Declaration

    Objective-C

    - (BOOL)isActive;

    Swift

    func isActive() -> Bool

    Return Value

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

  • 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 “moved_to_another_team”.

    Declaration

    Objective-C

    - (BOOL)isMovedToAnotherTeam;

    Swift

    func isMovedToAnotherTeam() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isNotJoined;

    Swift

    func isNotJoined() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isRemoved;

    Swift

    func isRemoved() -> Bool

    Return Value

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

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

    Declaration

    Objective-C

    - (BOOL)isSuspended;

    Swift

    func isSuspended() -> Bool

    Return Value

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

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