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

    DBFILESPaperDocUpdatePolicyUpdate

    Swift

    case update = 0
  • Sets the doc content to the provided content without checking paper_revision.

    Declaration

    Objective-C

    DBFILESPaperDocUpdatePolicyOverwrite

    Swift

    case overwrite = 1
  • Adds the provided content to the beginning of the doc without checking paper_revision.

    Declaration

    Objective-C

    DBFILESPaperDocUpdatePolicyPrepend

    Swift

    case prepend = 2
  • Adds the provided content to the end of the doc without checking paper_revision.

    Declaration

    Objective-C

    DBFILESPaperDocUpdatePolicyAppend

    Swift

    case append = 3
  • (no description).

    Declaration

    Objective-C

    DBFILESPaperDocUpdatePolicyOther

    Swift

    case other = 4