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