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