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