PaperDocUpdatePolicy
public enum PaperDocUpdatePolicy : CustomStringConvertible, JSONRepresentable
The PaperDocUpdatePolicy union
-
Sets the doc content to the provided content if the provided paper_revision matches the latest doc revision. Otherwise, returns an error.
Declaration
Swift
case update -
Sets the doc content to the provided content without checking paper_revision.
Declaration
Swift
case overwrite -
Adds the provided content to the beginning of the doc without checking paper_revision.
Declaration
Swift
case prepend -
Adds the provided content to the end of the doc without checking paper_revision.
Declaration
Swift
case append -
An unspecified error.
Declaration
Swift
case other -
Declaration
Swift
public var description: String { get }
View on GitHub
PaperDocUpdatePolicy Enumeration Reference