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