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