DBSHARINGUpdateFolderMemberArg
Objective-C
@interface DBSHARINGUpdateFolderMemberArg : NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGUpdateFolderMemberArg : NSObject, DBSerializable, NSCopying
The UpdateFolderMemberArg
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 (nonatomic, copy, readonly) NSString *_Nonnull sharedFolderId;
Swift
var sharedFolderId: String { get }
-
The member of the shared folder to update. Only the
dropboxId
inDBSHARINGMemberSelector
may be set at this time.Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGMemberSelector *_Nonnull member;
Swift
var member: DBSHARINGMemberSelector { get }
-
The new access level for member.
owner
inDBSHARINGAccessLevel
is disallowed.Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGAccessLevel *_Nonnull accessLevel;
Swift
var accessLevel: DBSHARINGAccessLevel { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithSharedFolderId:(nonnull NSString *)sharedFolderId member:(nonnull DBSHARINGMemberSelector *)member accessLevel:(nonnull DBSHARINGAccessLevel *)accessLevel;
Swift
init(sharedFolderId: String, member: DBSHARINGMemberSelector, accessLevel: DBSHARINGAccessLevel)
Parameters
sharedFolderId
The ID for the shared folder.
member
The member of the shared folder to update. Only the
dropboxId
inDBSHARINGMemberSelector
may be set at this time.accessLevel
The new access level for member.
owner
inDBSHARINGAccessLevel
is disallowed.Return Value
An initialized instance.