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