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