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