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