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