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