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.
-
Represents the union’s current tag state.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGMemberStatusTag tag;Swift
var tag: DBTEAMLOGMemberStatusTag { get }
-
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.
-
Retrieves whether the union’s current tag state has value “active”.
Declaration
Objective-C
- (BOOL)isActive;Swift
func isActive() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> BoolReturn 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() -> StringReturn Value
A human-readable string representing the union’s current tag state.
View on GitHub
DBTEAMLOGMemberStatus Class Reference