DBPAPERFolderSerializer

Objective-C

@interface DBPAPERFolderSerializer : NSObject

Swift

class DBPAPERFolderSerializer : NSObject

The serialization class for the Folder struct.

  • Serializes DBPAPERFolder instances.

    Declaration

    Objective-C

    + (nullable NSDictionary<NSString *, id> *)serialize:
        (nonnull DBPAPERFolder *)instance;

    Swift

    class func serialize(_ instance: DBPAPERFolder) -> [String : Any]?

    Parameters

    instance

    An instance of the DBPAPERFolder API object.

    Return Value

    A json-compatible dictionary representation of the DBPAPERFolder API object.

  • Deserializes DBPAPERFolder instances.

    Declaration

    Objective-C

    + (nonnull DBPAPERFolder *)deserialize:
        (nonnull NSDictionary<NSString *, id> *)dict;

    Swift

    class func deserialize(_ dict: [String : Any]) -> DBPAPERFolder

    Parameters

    dict

    A json-compatible dictionary representation of the DBPAPERFolder API object.

    Return Value

    An instantiation of the DBPAPERFolder object.