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