DBTEAMLOGMemberChangeStatusDetails
Objective-C
@interface DBTEAMLOGMemberChangeStatusDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGMemberChangeStatusDetails : NSObject, DBSerializable, NSCopying
The MemberChangeStatusDetails
struct.
Changed member status (invited, joined, suspended, etc.).
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Previous member status. Might be missing due to historical data gap.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGMemberStatus *previousValue;
Swift
var previousValue: DBTEAMLOGMemberStatus? { get }
-
New member status.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGMemberStatus *_Nonnull dNewValue;
Swift
var dNewValue: DBTEAMLOGMemberStatus { get }
-
Additional information indicating the action taken that caused status change.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGActionDetails *action;
Swift
var action: DBTEAMLOGActionDetails? { get }
-
The user’s new team name. This field is relevant when the user is transferred off the team.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *dNewTeam;
Swift
var dNewTeam: String? { get }
-
The user’s previous team name. This field is relevant when the user is transferred onto the team.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *previousTeam;
Swift
var previousTeam: String? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithDNewValue:(nonnull DBTEAMLOGMemberStatus *)dNewValue previousValue:(nullable DBTEAMLOGMemberStatus *)previousValue action:(nullable DBTEAMLOGActionDetails *)action dNewTeam:(nullable NSString *)dNewTeam previousTeam:(nullable NSString *)previousTeam;
Swift
init(dNewValue: DBTEAMLOGMemberStatus, previousValue: DBTEAMLOGMemberStatus?, action: DBTEAMLOGActionDetails?, dNewTeam: String?, previousTeam: String?)
Parameters
dNewValue
New member status.
previousValue
Previous member status. Might be missing due to historical data gap.
action
Additional information indicating the action taken that caused status change.
dNewTeam
The user’s new team name. This field is relevant when the user is transferred off the team.
previousTeam
The user’s previous team name. This field is relevant when the user is transferred onto the team.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithDNewValue: (nonnull DBTEAMLOGMemberStatus *)dNewValue;
Swift
init(dNewValue: DBTEAMLOGMemberStatus)
Parameters
dNewValue
New member status.
Return Value
An initialized instance.