DBSHARINGMemberActionSerializer
Objective-C
@interface DBSHARINGMemberActionSerializer : NSObject
Swift
class DBSHARINGMemberActionSerializer : NSObject
The serialization class for the DBSHARINGMemberAction union.
-
Serializes
DBSHARINGMemberActioninstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBSHARINGMemberAction *)instance;Swift
class func serialize(_ instance: DBSHARINGMemberAction) -> [String : Any]?Parameters
instanceAn instance of the
DBSHARINGMemberActionAPI object.Return Value
A json-compatible dictionary representation of the
DBSHARINGMemberActionAPI object. -
Deserializes
DBSHARINGMemberActioninstances.Declaration
Objective-C
+ (nonnull DBSHARINGMemberAction *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBSHARINGMemberActionParameters
dictA json-compatible dictionary representation of the
DBSHARINGMemberActionAPI object.Return Value
An instantiation of the
DBSHARINGMemberActionobject.
View on GitHub
DBSHARINGMemberActionSerializer Class Reference