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