DBPAPERPaperDocCreateArgs
Objective-C
@interface DBPAPERPaperDocCreateArgs : NSObject <DBSerializable, NSCopying>
Swift
class DBPAPERPaperDocCreateArgs : NSObject, DBSerializable, NSCopying
The PaperDocCreateArgs struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The Paper folder ID where the Paper document should be created. The API user has to have write access to this folder or error is thrown.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *parentFolderId;Swift
var parentFolderId: String? { get } -
The format of provided data.
Declaration
Objective-C
@property (nonatomic, readonly) DBPAPERImportFormat *_Nonnull importFormat;Swift
var importFormat: DBPAPERImportFormat { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithImportFormat:(nonnull DBPAPERImportFormat *)importFormat parentFolderId:(nullable NSString *)parentFolderId;Swift
init(importFormat: DBPAPERImportFormat, parentFolderId: String?)Parameters
importFormatThe format of provided data.
parentFolderIdThe Paper folder ID where the Paper document should be created. The API user has to have write access to this folder or error is thrown.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithImportFormat: (nonnull DBPAPERImportFormat *)importFormat;Swift
init(importFormat: DBPAPERImportFormat)Parameters
importFormatThe format of provided data.
Return Value
An initialized instance.
View on GitHub
DBPAPERPaperDocCreateArgs Class Reference