DBPAPERFolder

@interface DBPAPERFolder : NSObject <DBSerializable, NSCopying>

The Folder struct.

Data structure representing a Paper folder.

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

  • id_

    Paper folder ID. This ID uniquely identifies the folder.

    Declaration

    Objective-C

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

    Swift

    var id_: String { get }
  • Paper folder name.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithId_:(nonnull NSString *)id_
                                   name:(nonnull NSString *)name;

    Swift

    init(id_: String, name: String)

    Parameters

    id_

    Paper folder ID. This ID uniquely identifies the folder.

    name

    Paper folder name.

    Return Value

    An initialized instance.