DBSHARINGUpdateFileMemberArgs
Objective-C
@interface DBSHARINGUpdateFileMemberArgs : NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGUpdateFileMemberArgs : NSObject, DBSerializable, NSCopying
The UpdateFileMemberArgs
struct.
Arguments for updateFileMember
.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
File for which we are changing a member’s access.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull file;
Swift
var file: String { get }
-
The member whose access we are changing.
Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGMemberSelector *_Nonnull member;
Swift
var member: DBSHARINGMemberSelector { get }
-
The new access level for the member.
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)initWithFile:(nonnull NSString *)file member:(nonnull DBSHARINGMemberSelector *)member accessLevel: (nonnull DBSHARINGAccessLevel *)accessLevel;
Swift
init(file: String, member: DBSHARINGMemberSelector, accessLevel: DBSHARINGAccessLevel)
Parameters
file
File for which we are changing a member’s access.
member
The member whose access we are changing.
accessLevel
The new access level for the member.
Return Value
An initialized instance.