DBSHARINGAddFolderMemberArg

@interface DBSHARINGAddFolderMemberArg : NSObject <DBSerializable, NSCopying>

The AddFolderMemberArg struct.

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

  • The ID for the shared folder.

    Declaration

    Objective-C

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

    Swift

    var sharedFolderId: String { get }
  • The intended list of members to add. Added members will receive invites to join the shared folder.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSArray<DBSHARINGAddMember *> *_Nonnull members;

    Swift

    var members: [DBSHARINGAddMember] { get }
  • Whether added members should be notified via email and device notifications of their invite.

    Declaration

    Objective-C

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

    Swift

    var quiet: NSNumber { get }
  • Optional message to display to added members in their invitation.

    Declaration

    Objective-C

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

    Swift

    var customMessage: String? { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithSharedFolderId:(nonnull NSString *)sharedFolderId
                   members:(nonnull NSArray<DBSHARINGAddMember *> *)members
                     quiet:(nullable NSNumber *)quiet
             customMessage:(nullable NSString *)customMessage;

    Swift

    init(sharedFolderId: String, members: [DBSHARINGAddMember], quiet: NSNumber?, customMessage: String?)

    Parameters

    sharedFolderId

    The ID for the shared folder.

    members

    The intended list of members to add. Added members will receive invites to join the shared folder.

    quiet

    Whether added members should be notified via email and device notifications of their invite.

    customMessage

    Optional message to display to added members in their invitation.

    Return Value

    An initialized instance.

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

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithSharedFolderId:(nonnull NSString *)sharedFolderId
                   members:(nonnull NSArray<DBSHARINGAddMember *> *)members;

    Swift

    init(sharedFolderId: String, members: [DBSHARINGAddMember])

    Parameters

    sharedFolderId

    The ID for the shared folder.

    members

    The intended list of members to add. Added members will receive invites to join the shared folder.

    Return Value

    An initialized instance.