DBSHARINGRemoveFileMemberArg
Objective-C
@interface DBSHARINGRemoveFileMemberArg : NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGRemoveFileMemberArg : NSObject, DBSerializable, NSCopying
The RemoveFileMemberArg
struct.
Arguments for removeFileMember2
.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
File from which to remove members.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull file;
Swift
var file: String { get }
-
Member to remove from this file. Note that even if an email is specified, it may result in the removal of a user (not an invitee) if the user’s main account corresponds to that email address.
Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGMemberSelector *_Nonnull member;
Swift
var member: DBSHARINGMemberSelector { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithFile:(nonnull NSString *)file member:(nonnull DBSHARINGMemberSelector *)member;
Swift
init(file: String, member: DBSHARINGMemberSelector)
Parameters
file
File from which to remove members.
member
Member to remove from this file. Note that even if an email is specified, it may result in the removal of a user (not an invitee) if the user’s main account corresponds to that email address.
Return Value
An initialized instance.