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