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