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