DBTEAMLOGMemberChangeEmailDetails

Objective-C

@interface DBTEAMLOGMemberChangeEmailDetails
    : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGMemberChangeEmailDetails : NSObject, DBSerializable, NSCopying

The MemberChangeEmailDetails struct.

Changed team member email.

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

Instance fields

  • New email.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull dNewValue;

    Swift

    var dNewValue: String { get }
  • Previous email. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSString *previousValue;

    Swift

    var previousValue: String? { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDNewValue:(nonnull NSString *)dNewValue
                                previousValue:(nullable NSString *)previousValue;

    Swift

    init(dNewValue: String, previousValue: String?)

    Parameters

    dNewValue

    New email.

    previousValue

    Previous email. Might be missing due to historical data gap.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDNewValue:(nonnull NSString *)dNewValue;

    Swift

    init(dNewValue: String)

    Parameters

    dNewValue

    New email.

    Return Value

    An initialized instance.