DBFILESDownloadErrorSerializer
Objective-C
@interface DBFILESDownloadErrorSerializer : NSObject
Swift
class DBFILESDownloadErrorSerializer : NSObject
The serialization class for the DBFILESDownloadError union.
-
Serializes
DBFILESDownloadErrorinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBFILESDownloadError *)instance;Swift
class func serialize(_ instance: DBFILESDownloadError) -> [String : Any]?Parameters
instanceAn instance of the
DBFILESDownloadErrorAPI object.Return Value
A json-compatible dictionary representation of the
DBFILESDownloadErrorAPI object. -
Deserializes
DBFILESDownloadErrorinstances.Declaration
Objective-C
+ (nonnull DBFILESDownloadError *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBFILESDownloadErrorParameters
dictA json-compatible dictionary representation of the
DBFILESDownloadErrorAPI object.Return Value
An instantiation of the
DBFILESDownloadErrorobject.
View on GitHub
DBFILESDownloadErrorSerializer Class Reference