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