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