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