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