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