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