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