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