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