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