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