DBSHARINGSharedFolderMembers
Objective-C
@interface DBSHARINGSharedFolderMembers : NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGSharedFolderMembers : NSObject, DBSerializable, NSCopying
The SharedFolderMembers
struct.
Shared folder user and group membership.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The list of user members of the shared folder.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBSHARINGUserMembershipInfo *> *_Nonnull users;
Swift
var users: [DBSHARINGUserMembershipInfo] { get }
-
The list of group members of the shared folder.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBSHARINGGroupMembershipInfo *> *_Nonnull groups;
Swift
var groups: [DBSHARINGGroupMembershipInfo] { get }
-
The list of invitees to the shared folder.
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<DBSHARINGInviteeMembershipInfo *> *_Nonnull invitees;
Swift
var invitees: [DBSHARINGInviteeMembershipInfo] { get }
-
Present if there are additional shared folder members that have not been returned yet. Pass the cursor into
listFolderMembersContinue
to list additional members.Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *cursor;
Swift
var cursor: String? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithUsers:(nonnull NSArray<DBSHARINGUserMembershipInfo *> *)users groups:(nonnull NSArray<DBSHARINGGroupMembershipInfo *> *)groups invitees:(nonnull NSArray<DBSHARINGInviteeMembershipInfo *> *)invitees cursor:(nullable NSString *)cursor;
Swift
init(users: [DBSHARINGUserMembershipInfo], groups: [DBSHARINGGroupMembershipInfo], invitees: [DBSHARINGInviteeMembershipInfo], cursor: String?)
Parameters
users
The list of user members of the shared folder.
groups
The list of group members of the shared folder.
invitees
The list of invitees to the shared folder.
cursor
Present if there are additional shared folder members that have not been returned yet. Pass the cursor into
listFolderMembersContinue
to list additional members.Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype) initWithUsers:(nonnull NSArray<DBSHARINGUserMembershipInfo *> *)users groups:(nonnull NSArray<DBSHARINGGroupMembershipInfo *> *)groups invitees:(nonnull NSArray<DBSHARINGInviteeMembershipInfo *> *)invitees;
Swift
init(users: [DBSHARINGUserMembershipInfo], groups: [DBSHARINGGroupMembershipInfo], invitees: [DBSHARINGInviteeMembershipInfo])
Parameters
users
The list of user members of the shared folder.
groups
The list of group members of the shared folder.
invitees
The list of invitees to the shared folder.
Return Value
An initialized instance.