DBPAPERPaperDocSharingPolicy
Objective-C
@interface DBPAPERPaperDocSharingPolicy
: DBPAPERRefPaperDoc <DBSerializable, NSCopying>
Swift
class DBPAPERPaperDocSharingPolicy : DBPAPERRefPaperDoc, DBSerializable, NSCopying
The PaperDocSharingPolicy struct.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
The default sharing policy to be set for the Paper doc.
Declaration
Objective-C
@property (nonatomic, readonly) DBPAPERSharingPolicy *_Nonnull sharingPolicy;Swift
var sharingPolicy: DBPAPERSharingPolicy { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithDocId:(nonnull NSString *)docId sharingPolicy: (nonnull DBPAPERSharingPolicy *)sharingPolicy;Swift
init(docId: String, sharingPolicy: DBPAPERSharingPolicy)Parameters
docIdThe Paper doc ID.
sharingPolicyThe default sharing policy to be set for the Paper doc.
Return Value
An initialized instance.
View on GitHub
DBPAPERPaperDocSharingPolicy Class Reference