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