DBPAPERRefPaperDoc

@interface DBPAPERRefPaperDoc : NSObject <DBSerializable, NSCopying>

The RefPaperDoc struct.

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

  • The Paper doc ID.

    Declaration

    Objective-C

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

    Swift

    var docId: String { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDocId:(nonnull NSString *)docId;

    Swift

    init(docId: String)

    Parameters

    docId

    The Paper doc ID.

    Return Value

    An initialized instance.