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