DBTEAMMembersAddArg
Objective-C
@interface DBTEAMMembersAddArg
: DBTEAMMembersAddArgBase <DBSerializable, NSCopying>
Swift
class DBTEAMMembersAddArg : DBTEAMMembersAddArgBase, DBSerializable, NSCopying
The MembersAddArg
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Details of new members to be added to the team.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBTEAMMemberAddArg *> *_Nonnull dNewMembers;
Swift
var dNewMembers: [DBTEAMMemberAddArg] { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithDNewMembers: (nonnull NSArray<DBTEAMMemberAddArg *> *)dNewMembers forceAsync:(nullable NSNumber *)forceAsync;
Swift
init(dNewMembers: [DBTEAMMemberAddArg], forceAsync: NSNumber?)
Parameters
dNewMembers
Details of new members to be added to the team.
forceAsync
Whether to force the add to happen asynchronously.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithDNewMembers: (nonnull NSArray<DBTEAMMemberAddArg *> *)dNewMembers;
Swift
init(dNewMembers: [DBTEAMMemberAddArg])
Parameters
dNewMembers
Details of new members to be added to the team.
Return Value
An initialized instance.