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