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