DBFILESFileLockContentSerializer
Objective-C
@interface DBFILESFileLockContentSerializer : NSObject
Swift
class DBFILESFileLockContentSerializer : NSObject
The serialization class for the DBFILESFileLockContent union.
-
Serializes
DBFILESFileLockContentinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBFILESFileLockContent *)instance;Swift
class func serialize(_ instance: DBFILESFileLockContent) -> [String : Any]?Parameters
instanceAn instance of the
DBFILESFileLockContentAPI object.Return Value
A json-compatible dictionary representation of the
DBFILESFileLockContentAPI object. -
Deserializes
DBFILESFileLockContentinstances.Declaration
Objective-C
+ (nonnull DBFILESFileLockContent *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBFILESFileLockContentParameters
dictA json-compatible dictionary representation of the
DBFILESFileLockContentAPI object.Return Value
An instantiation of the
DBFILESFileLockContentobject.
View on GitHub
DBFILESFileLockContentSerializer Class Reference