DBTEAMMembersDeactivateArg

Objective-C

@interface DBTEAMMembersDeactivateArg
    : DBTEAMMembersDeactivateBaseArg <DBSerializable, NSCopying>

Swift

class DBTEAMMembersDeactivateArg : DBTEAMMembersDeactivateBaseArg, DBSerializable, NSCopying

The MembersDeactivateArg struct.

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

Instance fields

  • If provided, controls if the user’s data will be deleted on their linked devices.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull wipeData;

    Swift

    var wipeData: NSNumber { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUser:(nonnull DBTEAMUserSelectorArg *)user
                                wipeData:(nullable NSNumber *)wipeData;

    Swift

    init(user: DBTEAMUserSelectorArg, wipeData: NSNumber?)

    Parameters

    user

    Identity of user to remove/suspend/have their files moved.

    wipeData

    If provided, controls if the user’s data will be deleted on their linked devices.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUser:(nonnull DBTEAMUserSelectorArg *)user;

    Swift

    init(user: DBTEAMUserSelectorArg)

    Parameters

    user

    Identity of user to remove/suspend/have their files moved.

    Return Value

    An initialized instance.