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