DBPAPERPaperDocExportResultSerializer
Objective-C
@interface DBPAPERPaperDocExportResultSerializer : NSObject
Swift
class DBPAPERPaperDocExportResultSerializer : NSObject
The serialization class for the PaperDocExportResult
struct.
-
Serializes
DBPAPERPaperDocExportResult
instances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBPAPERPaperDocExportResult *)instance;
Swift
class func serialize(_ instance: DBPAPERPaperDocExportResult) -> [String : Any]?
Parameters
instance
An instance of the
DBPAPERPaperDocExportResult
API object.Return Value
A json-compatible dictionary representation of the
DBPAPERPaperDocExportResult
API object. -
Deserializes
DBPAPERPaperDocExportResult
instances.Declaration
Objective-C
+ (nonnull DBPAPERPaperDocExportResult *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;
Swift
class func deserialize(_ dict: [String : Any]) -> DBPAPERPaperDocExportResult
Parameters
dict
A json-compatible dictionary representation of the
DBPAPERPaperDocExportResult
API object.Return Value
An instantiation of the
DBPAPERPaperDocExportResult
object.