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