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