DBFILESPaperDocUpdatePolicyTag
Objective-C
enum DBFILESPaperDocUpdatePolicyTag : NSInteger {}
Swift
@frozen enum DBFILESPaperDocUpdatePolicyTag : Int, @unchecked Sendable
The DBFILESPaperDocUpdatePolicyTag enum type represents the possible tag
states with which the DBFILESPaperDocUpdatePolicy union can exist.
-
Sets the doc content to the provided content if the provided paper_revision matches the latest doc revision. Otherwise, returns an error.
Declaration
Objective-C
DBFILESPaperDocUpdatePolicyUpdateSwift
case update = 0 -
Sets the doc content to the provided content without checking paper_revision.
Declaration
Objective-C
DBFILESPaperDocUpdatePolicyOverwriteSwift
case overwrite = 1 -
Adds the provided content to the beginning of the doc without checking paper_revision.
Declaration
Objective-C
DBFILESPaperDocUpdatePolicyPrependSwift
case prepend = 2 -
Adds the provided content to the end of the doc without checking paper_revision.
Declaration
Objective-C
DBFILESPaperDocUpdatePolicyAppendSwift
case append = 3 -
(no description).
Declaration
Objective-C
DBFILESPaperDocUpdatePolicyOtherSwift
case other = 4
View on GitHub
DBFILESPaperDocUpdatePolicyTag Enumeration Reference