DBPAPERPaperDocCreateUpdateResult

Objective-C

@interface DBPAPERPaperDocCreateUpdateResult
    : NSObject <DBSerializable, NSCopying>

Swift

class DBPAPERPaperDocCreateUpdateResult : NSObject, DBSerializable, NSCopying

The PaperDocCreateUpdateResult struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • Doc ID of the newly created doc.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull docId;

    Swift

    var docId: String { get }
  • The Paper doc revision. Simply an ever increasing number.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull revision;

    Swift

    var revision: NSNumber { get }
  • The Paper doc title.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull title;

    Swift

    var title: String { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDocId:(nonnull NSString *)docId
                                 revision:(nonnull NSNumber *)revision
                                    title:(nonnull NSString *)title;

    Swift

    init(docId: String, revision: NSNumber, title: String)

    Parameters

    docId

    Doc ID of the newly created doc.

    revision

    The Paper doc revision. Simply an ever increasing number.

    title

    The Paper doc title.

    Return Value

    An initialized instance.