DBFILESRelocationErrorSerializer
Objective-C
@interface DBFILESRelocationErrorSerializer : NSObject
Swift
class DBFILESRelocationErrorSerializer : NSObject
The serialization class for the DBFILESRelocationError union.
-
Serializes
DBFILESRelocationErrorinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBFILESRelocationError *)instance;Swift
class func serialize(_ instance: DBFILESRelocationError) -> [String : Any]?Parameters
instanceAn instance of the
DBFILESRelocationErrorAPI object.Return Value
A json-compatible dictionary representation of the
DBFILESRelocationErrorAPI object. -
Deserializes
DBFILESRelocationErrorinstances.Declaration
Objective-C
+ (nonnull DBFILESRelocationError *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBFILESRelocationErrorParameters
dictA json-compatible dictionary representation of the
DBFILESRelocationErrorAPI object.Return Value
An instantiation of the
DBFILESRelocationErrorobject.
View on GitHub
DBFILESRelocationErrorSerializer Class Reference