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