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