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