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