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