DBSHARINGSetAccessInheritanceArg
Objective-C
@interface DBSHARINGSetAccessInheritanceArg
: NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGSetAccessInheritanceArg : NSObject, DBSerializable, NSCopying
The SetAccessInheritanceArg
struct.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The access inheritance settings for the folder.
Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGAccessInheritance *_Nonnull accessInheritance;
Swift
var accessInheritance: DBSHARINGAccessInheritance { get }
-
The ID for the shared folder.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull sharedFolderId;
Swift
var sharedFolderId: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithSharedFolderId:(nonnull NSString *)sharedFolderId accessInheritance: (nullable DBSHARINGAccessInheritance *)accessInheritance;
Swift
init(sharedFolderId: String, accessInheritance: DBSHARINGAccessInheritance?)
Parameters
sharedFolderId
The ID for the shared folder.
accessInheritance
The access inheritance settings for the folder.
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;
Swift
init(sharedFolderId: String)
Parameters
sharedFolderId
The ID for the shared folder.
Return Value
An initialized instance.