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