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