DBTEAMMembersAddV2Arg

Objective-C

@interface DBTEAMMembersAddV2Arg
    : DBTEAMMembersAddArgBase <DBSerializable, NSCopying>

Swift

class DBTEAMMembersAddV2Arg : DBTEAMMembersAddArgBase, DBSerializable, NSCopying

The MembersAddV2Arg 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

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithDNewMembers:(nonnull NSArray<DBTEAMMemberAddV2Arg *> *)dNewMembers
                 forceAsync:(nullable NSNumber *)forceAsync;

    Swift

    init(dNewMembers: [DBTEAMMemberAddV2Arg], 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<DBTEAMMemberAddV2Arg *> *)dNewMembers;

    Swift

    init(dNewMembers: [DBTEAMMemberAddV2Arg])

    Parameters

    dNewMembers

    Details of new members to be added to the team.

    Return Value

    An initialized instance.