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