DBPAPERFoldersContainingPaperDoc
Objective-C
@interface DBPAPERFoldersContainingPaperDoc
: NSObject <DBSerializable, NSCopying>
Swift
class DBPAPERFoldersContainingPaperDoc : NSObject, DBSerializable, NSCopying
The FoldersContainingPaperDoc
struct.
Metadata about Paper folders containing the specififed Paper doc.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The sharing policy of the folder containing the Paper doc.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBPAPERFolderSharingPolicyType *folderSharingPolicyType;
Swift
var folderSharingPolicyType: DBPAPERFolderSharingPolicyType? { get }
-
The folder path. If present the first folder is the root folder.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) NSArray<DBPAPERFolder *> *folders;
Swift
var folders: [DBPAPERFolder]? { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithFolderSharingPolicyType: (nullable DBPAPERFolderSharingPolicyType *)folderSharingPolicyType folders: (nullable NSArray<DBPAPERFolder *> *)folders;
Swift
init(folderSharingPolicyType: DBPAPERFolderSharingPolicyType?, folders: [DBPAPERFolder]?)
Parameters
folderSharingPolicyType
The sharing policy of the folder containing the Paper doc.
folders
The folder path. If present the first folder is the root folder.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initDefault;
Swift
init(default: ())
Return Value
An initialized instance.